Code example for Parcel

Methods: writeIntwriteIntArraywriteLongwriteStringwriteStringListwriteTypedList

0
    public int describeContents() { 
        return 0; 
    } 
 
    public void writeToParcel(final Parcel dest, final int flags) {
        dest.writeString(title);
        dest.writeString(link);
        dest.writeString(description);
 
        dest.writeLong(pubDate);
        dest.writeLong(lastBuildDate);
 
        dest.writeString(language);
        dest.writeString(copyright);
        dest.writeString(generator);
 
        dest.writeString(imageWebsiteLink);
        dest.writeString(imageTitle);
        dest.writeString(imageUrl);
        dest.writeInt(imageWidth);
        dest.writeInt(imageHeight);
        dest.writeString(imageDescription);
 
        dest.writeString(managingEditor);
        dest.writeString(webmaster);
 
        dest.writeIntArray(skipDayArray);
        dest.writeIntArray(skipHourArray);
 
        dest.writeInt(ttl);
 
        dest.writeStringList(categoryList);
 
        dest.writeTypedList(rssItemList);
    } 
 
    public static final Parcelable.Creator<RssFeed> CREATOR = new Parcelable.Creator<RssFeed>() {
        public RssFeed createFromParcel(final Parcel in) { 
            return new RssFeed(in); 
Connect your IDE to all the code out there  Get Codota for Java