Example usage for android.os Parcel readParcelable

List of usage examples for android.os Parcel readParcelable

Introduction

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

Prototype

@SuppressWarnings("unchecked")
public final <T extends Parcelable> T readParcelable(ClassLoader loader) 

Source Link

Document

Read and return a new Parcelable from the parcel.

Usage

From source file:com.markupartist.sthlmtraveling.data.models.IntermediateStop.java

protected IntermediateStop(Parcel in) {
    location = in.readParcelable(Place.class.getClassLoader());
    startTime = readDate(in);/*from w w  w  .  ja  v a2  s.  c  o  m*/
    startTimeRt = readDate(in);
    endTime = readDate(in);
    endTimeRt = readDate(in);
}

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

@SuppressWarnings("unchecked")
public TrelloList(Parcel in) {
    this(in.readString(), (Board) in.readParcelable(null), in.readString(),
            (ArrayList<Card>) in.readArrayList(null));
}

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

private Quantity(Parcel in) {
    this.mUnit = in.readParcelable(Unit.class.getClassLoader());
    this.mSize = in.readParcelable(Size.class.getClassLoader());
    this.mPieces = in.readParcelable(Pieces.class.getClassLoader());
}

From source file:org.alfresco.mobile.android.api.services.impl.cloud.CloudDocumentFolderServiceImpl.java

public CloudDocumentFolderServiceImpl(Parcel o) {
    super((AlfrescoSession) o.readParcelable(CloudSessionImpl.class.getClassLoader()));
}

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

private BodyConfiguration(Parcel source) {
    ClassLoader loader = getClass().getClassLoader();

    background = source.readParcelable(loader);
    content = source.readParcelable(loader);
}

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

private Server(Parcel in) {
    name = in.readString();//ww  w.j av  a  2 s .  c  o m
    address = in.readString();
    signatureKey = in.readParcelable(Identity.class.getClassLoader());
    services = in.createTypedArrayList(Service.CREATOR);
}

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

/**
 * Creates an DialogResponse instance from Parcel.
 *//*from  w w  w. ja  v  a2s  .c  o m*/
public VKApiGetDialogResponse(Parcel in) {
    this.count = in.readInt();
    this.unread_dialogs = in.readInt();
    this.items = in.readParcelable(VKList.class.getClassLoader());
}

From source file:com.getchute.android.photopickerplus.models.MediaModel.java

public MediaModel(Parcel in) {
    this();/*from ww w .  j  av a 2 s  .c  o m*/
    options = in.readParcelable(OptionsModel.class.getClassLoader());
    in.readTypedList(media, MediaDataModel.CREATOR);

}

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

private Card(Parcel in) {
    this(in.readString(), (TrelloList) in.readParcelable(null), in.readString(), in.readString());
}

From source file:org.alfresco.mobile.android.api.services.impl.publicapi.PublicAPITaggingServiceImpl.java

public PublicAPITaggingServiceImpl(Parcel o) {
    super((AlfrescoSession) o.readParcelable(RepositorySessionImpl.class.getClassLoader()));
}