List of usage examples for android.os Parcel writeList
public final void writeList(List val)
From source file:io.bunnyblue.noticedog.app.notifications.Notification.java
public void writeToParcel(Parcel out, int flags) { out.writeString(this.packageName); out.writeInt(this.id); out.writeString(this.tag); out.writeString(this.key); out.writeLong(this.when); out.writeInt(this.smallIcon); out.writeParcelable(this.largeIcon, 0); out.writeString(this.tickerText); out.writeString(this.contentTitle); out.writeString(this.contentText); out.writeString(this.contentInfoText); out.writeParcelable(this.expandedLargeIconBig, 0); out.writeString(this.expandedContentTitle); out.writeString(this.expandedContentText); out.writeStringList(this.expandedInboxText); out.writeList(this.people); out.writeParcelable(this.picture, 0); out.writeInt(this.priority); out.writeParcelable(this.pendingLaunchIntent, 0); out.writeList(this.actions); logParcelSize(out);//from www .j av a 2 s .co m }
From source file:com.dwg.weibo.entity.Status.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.created_at); dest.writeString(this.id); dest.writeString(this.mid); dest.writeString(this.idstr); dest.writeInt(this.textLength); dest.writeString(this.text); dest.writeByte(this.isLongText ? (byte) 1 : (byte) 0); dest.writeInt(this.source_type); dest.writeString(this.source); dest.writeByte(this.favorited ? (byte) 1 : (byte) 0); dest.writeByte(this.truncated ? (byte) 1 : (byte) 0); dest.writeString(this.in_reply_to_status_id); dest.writeString(this.in_reply_to_user_id); dest.writeString(this.in_reply_to_screen_name); dest.writeString(this.thumbnail_pic); dest.writeString(this.bmiddle_pic); dest.writeString(this.original_pic); dest.writeParcelable(this.geo, flags); dest.writeParcelable(this.user, flags); dest.writeParcelable(this.retweeted_status, flags); dest.writeInt(this.reposts_count); dest.writeInt(this.comments_count); dest.writeInt(this.attitudes_count); dest.writeInt(this.mlevel); dest.writeParcelable(this.visible, flags); dest.writeInt(this.source_allowclick); dest.writeList(this.pic_urls); dest.writeStringList(this.thumbnail_pic_urls); dest.writeStringList(this.bmiddle_pic_urls); dest.writeStringList(this.origin_pic_urls); dest.writeString(this.singleImgSizeType); }