Example usage for android.os Parcel writeParcelable

List of usage examples for android.os Parcel writeParcelable

Introduction

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

Prototype

public final void writeParcelable(Parcelable p, int parcelableFlags) 

Source Link

Document

Flatten the name of the class of the Parcelable and its contents into the parcel.

Usage

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

public void writeToParcel(Parcel dest, int flags) {
    dest.writeParcelable(this.mUnit, flags);
    dest.writeParcelable(this.mSize, flags);
    dest.writeParcelable(this.mPieces, flags);
}

From source file:com.smoothsync.smoothsetup.microfragments.ProviderLoginMicroFragment.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeParcelable(mLoginInfo.boxed(), flags);
    dest.writeParcelable(mNext.boxed(), flags);
}

From source file:com.facebook.notifications.internal.configuration.HeroConfiguration.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeFloat(height);//from w ww  .j  av  a2 s .co m
    dest.writeParcelable(background, flags);

    dest.writeParcelable(content, flags);
    dest.writeParcelable(contentVerticalAlignment, flags);
}

From source file:com.github.capone.protocol.entities.Server.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(name);//from w w w . ja v  a  2 s.  co m
    dest.writeString(address);
    dest.writeParcelable(signatureKey, flags);
    dest.writeTypedList(services);
}

From source file:com.vk.sdk.api.model.VKApiGetDialogResponse.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.count);
    dest.writeInt(this.unread_dialogs);
    dest.writeParcelable(this.items, flags);
}

From source file:ch.gianulli.trelloapi.TrelloList.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mId);/* w w  w.j a v a 2 s  .c  om*/
    dest.writeParcelable(mBoard, 0);
    dest.writeString(mName);
    dest.writeList(mCards);
}

From source file:com.smoothsync.smoothsetup.microfragments.InitWizardMicroFragment.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mWizardServiceMetaKey);
    dest.writeParcelable(mIntent, flags);
}

From source file:org.dmfs.android.microfragments.demo.microfragments.MicroFragment1.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mParams.name());//  ww  w. j  av  a 2  s  .  co  m
    dest.writeParcelable(mParams.nextStep().boxed(), flags);
}

From source file:ch.gianulli.trelloapi.Card.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mId);/*  w  w w  .ja v  a  2s .c  o  m*/
    dest.writeParcelable(mList, 0);
    dest.writeString(mName);
    dest.writeString(mDesc);
}

From source file:com.facebook.notifications.internal.configuration.CardConfiguration.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeParcelable(cardSize, flags);
    dest.writeFloat(cornerRadius);/*w ww .  j a  v a  2 s .  c  om*/
    dest.writeFloat(contentInset);

    dest.writeInt(backdropColor);

    dest.writeParcelable(heroConfiguration, flags);
    dest.writeParcelable(bodyConfiguration, flags);
    dest.writeParcelable(actionsConfiguration, flags);
}