Code example for Parcel

Methods: readString

0
    public MyURLSpan(String url) {
        mURL = url;
    } 
 
    public MyURLSpan(Parcel src) {
        mURL = src.readString();
    } 
 
    public int getSpanTypeId() { 
        return 11; 
    } 
 
    public int describeContents() { 
        return 0; 
    } 
 
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(mURL);
    } 
 
    public String getURL() {