List of usage examples for android.os Parcel writeStringList
public final void writeStringList(List<String> val)
From source file:fr.free.nrw.commons.Media.java
/** * Creates a way to transfer information between two or more * activities.//w w w.j a v a 2 s . c o m * @param parcel Instance of Parcel * @param flags Parcel flag */ @Override public void writeToParcel(Parcel parcel, int flags) { parcel.writeParcelable(localUri, flags); parcel.writeString(thumbUrl); parcel.writeString(imageUrl); parcel.writeString(filename); parcel.writeString(description); parcel.writeLong(dataLength); parcel.writeSerializable(dateCreated); parcel.writeSerializable(dateUploaded); parcel.writeString(creator); parcel.writeSerializable(tags); parcel.writeInt(width); parcel.writeInt(height); parcel.writeString(license); parcel.writeStringList(categories); parcel.writeMap(descriptions); }
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 .ja v a 2 s . c om }
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); }