List of usage examples for android.os Parcel writeParcelable
public final void writeParcelable(Parcelable p, int parcelableFlags)
From source file:com.tigerpenguin.places.model.Place.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(placeId);// w w w. j ava2 s . c o m dest.writeString(name); dest.writeString(vicinity); dest.writeString(formattedAddress); dest.writeSerializable(priceLevel); dest.writeDouble(rating); dest.writeString(iconUrl); dest.writeList(types); dest.writeParcelable(geometry, flags); dest.writeParcelable(openingHours, flags); dest.writeList(photos); }
From source file:com.vk.sdk.api.model.VKApiMessage.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.user_id); dest.writeLong(this.date); dest.writeByte(read_state ? (byte) 1 : (byte) 0); dest.writeByte(out ? (byte) 1 : (byte) 0); dest.writeString(this.title); dest.writeString(this.body); dest.writeParcelable(attachments, flags); dest.writeParcelable(this.fwd_messages, flags); dest.writeByte(emoji ? (byte) 1 : (byte) 0); dest.writeByte(deleted ? (byte) 1 : (byte) 0); }
From source file:com.citrus.sdk.CitrusUser.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.firstName); dest.writeString(this.lastName); dest.writeString(this.emailId); dest.writeString(this.mobileNo); dest.writeParcelable(this.address, flags); }
From source file:org.alfresco.mobile.android.api.session.impl.CloudSessionImpl.java
@Override public void writeToParcel(Parcel dest, int arg1) { dest.writeString(baseUrl);//from ww w .jav a2s .c o m dest.writeString(userIdentifier); dest.writeString(password); dest.writeSerializable(currentNetwork); dest.writeParcelable(rootNode, PARCELABLE_WRITE_RETURN_VALUE); dest.writeSerializable(repositoryInfo); dest.writeSerializable(cmisSession); Bundle b = new Bundle(); b.putSerializable("userParameters", (Serializable) userParameters); dest.writeBundle(b); }
From source file:com.eTilbudsavis.etasdk.model.Branding.java
public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.mName); dest.writeString(this.mUrlName); dest.writeString(this.mWebsite); dest.writeString(this.mLogo); dest.writeValue(this.mLogoBackground); dest.writeValue(this.mColor); dest.writeParcelable(this.mPageflip, flags); }
From source file:com.vk.sdk.api.model.VKApiDocument.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.owner_id); dest.writeString(this.title); dest.writeLong(this.size); dest.writeString(this.ext); dest.writeString(this.url); dest.writeString(this.photo_100); dest.writeString(this.photo_130); dest.writeParcelable(this.photo, flags); dest.writeString(this.access_key); dest.writeByte(mIsImage ? (byte) 1 : (byte) 0); dest.writeByte(mIsGif ? (byte) 1 : (byte) 0); }
From source file:com.vk.sdk.api.model.VKList.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(items.size());//from w ww . j a v a 2 s. c om for (T item : this) { dest.writeParcelable(item, flags); } dest.writeInt(this.count); }
From source file:com.citrus.sdk.TransactionResponse.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeParcelable(this.balanceAmount, 0); dest.writeParcelable(this.transactionAmount, 0); dest.writeString(this.message); dest.writeString(this.responseCode); dest.writeInt(this.transactionStatus == null ? -1 : this.transactionStatus.ordinal()); dest.writeParcelable(this.transactionDetails, 0); dest.writeParcelable(this.citrusUser, 0); dest.writeInt(this.paymentMode == null ? -1 : this.paymentMode.ordinal()); dest.writeString(this.issuerCode); dest.writeString(this.impsMobileNumber); dest.writeString(this.impsMmid); dest.writeString(this.authIdCode); dest.writeString(this.signature); dest.writeString(this.maskedCardNumber); dest.writeByte(COD ? (byte) 1 : (byte) 0); dest.writeMap(this.customParamsMap); dest.writeString(this.jsonResponse); }
From source file:fr.free.nrw.commons.Media.java
/** * Creates a way to transfer information between two or more * activities./*from w ww . 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:com.eTilbudsavis.etasdk.model.Dealer.java
public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.mErn); dest.writeString(this.mName); dest.writeString(this.mUrlName); dest.writeString(this.mWebsite); dest.writeString(this.mLogo); dest.writeValue(this.mColor); dest.writeParcelable(this.mPageflip, flags); }