Example usage for android.os Parcel readValue

List of usage examples for android.os Parcel readValue

Introduction

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

Prototype

public final Object readValue(ClassLoader loader) 

Source Link

Document

Read a typed object from a parcel.

Usage

From source file:br.ufrj.ppgi.jemf.mobile.bean.Team.java

private static AbstractUser extractedLeader(Parcel in) {
    return (AbstractUser) in.readValue(AbstractUser.class.getClassLoader());
}

From source file:com.github.jobs.bean.AboutMeService.java

public AboutMeService(Parcel in) {
    displayName = (String) in.readValue(null);
    platform = (String) in.readValue(null);
    serviceUrl = (String) in.readValue(null);
}

From source file:com.github.jobs.bean.AboutMeUser.java

public AboutMeUser(Parcel in) {
    firstName = (String) in.readValue(null);
    lastName = (String) in.readValue(null);
    header = (String) in.readValue(null);
    profile = (String) in.readValue(null);
    bio = (String) in.readValue(null);
    services = (AboutMeService[]) in.readParcelableArray(AboutMeService.class.getClassLoader());
}

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

private Pageflip(Parcel in) {
    this.mLogo = in.readString();
    this.mColor = (Integer) in.readValue(Integer.class.getClassLoader());
}

From source file:com.github.jobs.bean.SOUser.java

public SOUser(Parcel in) {
    id = (Long) in.readValue(null);
    displayName = (String) in.readValue(null);
    profileImage = (String) in.readValue(null);
    reputation = (Integer) in.readValue(null);
    link = (String) in.readValue(null);
    websiteUrl = (String) in.readValue(null);
    accountId = (Integer) in.readValue(null);
    badgeCount = (BadgeCount) in.readValue(BadgeCount.class.getClassLoader());
}

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

private Pricing(Parcel in) {
    this.mPrice = in.readDouble();
    this.mPrePrice = (Double) in.readValue(Double.class.getClassLoader());
    this.mCurrency = in.readString();
}

From source file:com.ch_linghu.fanfoudroid.data.Tweet.java

public Tweet(Parcel in) {
    id = in.readString();/* w  ww . j  a  va 2s . c  om*/
    text = in.readString();
    createdAt = (Date) in.readValue(Date.class.getClassLoader());
    screenName = in.readString();
    favorited = in.readString();
    inReplyToStatusId = in.readString();
    inReplyToUserId = in.readString();
    inReplyToScreenName = in.readString();
    repostStatusId = in.readString();
    repostUserId = in.readString();
    screenName = in.readString();
    profileImageUrl = in.readString();
    thumbnail_pic = in.readString();
    bmiddle_pic = in.readString();
    original_pic = in.readString();
    userId = in.readString();
    source = in.readString();
}

From source file:edu.umich.flowfence.common.ParceledPayload.java

public Object getValue(ClassLoader loader) {
    Parcel p = Parcel.obtain();
    try {/*from w w  w.  j  a  v a2s.c  o  m*/
        p.unmarshall(data, 0, data.length);
        p.setDataPosition(0);
        return p.readValue(loader);
    } finally {
        p.recycle();
    }
}

From source file:de.lebenshilfe_muenster.uk_gebaerden_muensterland.database.Sign.java

/**
 * Constructor for a sign which has been parcelled.
 *
 * @param in an Android parcel./*from   ww  w .  j a va 2s.  c o  m*/
 */
private Sign(Parcel in) {
    this.id = in.readInt();
    this.name = in.readString();
    this.nameLocaleDe = in.readString();
    this.mnemonic = in.readString();
    this.starred = (boolean) in.readValue(getClass().getClassLoader());
    this.learningProgress = in.readInt();
}

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

private Branding(Parcel in) {
    this.mName = in.readString();
    this.mUrlName = in.readString();
    this.mWebsite = in.readString();
    this.mLogo = in.readString();
    this.mLogoBackground = (Integer) in.readValue(Integer.class.getClassLoader());
    this.mColor = (Integer) in.readValue(Integer.class.getClassLoader());
    this.mPageflip = in.readParcelable(Pageflip.class.getClassLoader());
}