Example usage for android.os Parcel writeValue

List of usage examples for android.os Parcel writeValue

Introduction

In this page you can find the example usage for android.os Parcel writeValue.

Prototype

public final void writeValue(Object v) 

Source Link

Document

Flatten a generic object in to a parcel.

Usage

From source file:com.eTilbudsavis.etasdk.model.Catalog.java

public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.mErn);
    dest.writeString(this.mLabel);
    dest.writeValue(this.mBackground);
    dest.writeLong(mRunFrom != null ? mRunFrom.getTime() : -1);
    dest.writeLong(mRunTill != null ? mRunTill.getTime() : -1);
    dest.writeInt(this.mPageCount);
    dest.writeInt(this.mOfferCount);
    dest.writeParcelable(this.mBranding, flags);
    dest.writeString(this.mDealerId);
    dest.writeString(this.mDealerUrl);
    dest.writeString(this.mStoreId);
    dest.writeString(this.mStoreUrl);
    dest.writeParcelable(this.mDimension, flags);
    dest.writeParcelable(this.mImages, flags);
    dest.writeSerializable(this.mCatrgoryIds);
    dest.writeString(this.mPdfUrl);
    dest.writeTypedList(mPages);/*from  w  ww  . ja v  a  2s.c o m*/
    dest.writeParcelable(this.mDealer, flags);
    dest.writeParcelable(this.mStore, flags);
    dest.writeParcelable(this.mHotspots, flags);
}