Example usage for android.os Parcel readString

List of usage examples for android.os Parcel readString

Introduction

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

Prototype

public final String readString() 

Source Link

Document

Read a string value from the parcel at the current dataPosition().

Usage

From source file:com.lugia.timetable.Subject.java

/**
 * Constructor for Parcelable.//  w w  w.j a  va 2 s  . co m
 *
 * @param parcel the parcel.
 */
private Subject(Parcel parcel) {
    mSubjectCode = parcel.readString();
    mSubjectDescription = parcel.readString();
    mLectureSection = parcel.readString();
    mTutorialSection = parcel.readString();

    mCreditHours = parcel.readInt();
    mColor = parcel.readInt();

    parcel.readTypedList(mSchedule = new ArrayList<Schedule>(), Schedule.CREATOR);
    parcel.readTypedList(mEvent = new ArrayList<Event>(), Event.CREATOR);
}

From source file:org.opendatakit.common.android.data.Row.java

public Row(UserTable userTable, Parcel in) {
    this.mUserTable = userTable;
    this.mRowId = in.readString();
    int count;//  w ww  .j  ava 2 s  . c o m
    count = in.readInt();
    this.mRowData = new String[count];
    in.readStringArray(mRowData);
}

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

/**
 * Creates a University instance from Parcel.
 *//*from w ww. ja v a 2 s.c  om*/
public VKApiUniversity(Parcel in) {
    this.id = in.readInt();
    this.country_id = in.readInt();
    this.city_id = in.readInt();
    this.name = in.readString();
    this.faculty = in.readString();
    this.faculty_name = in.readString();
    this.chair = in.readInt();
    this.chair_name = in.readString();
    this.graduation = in.readInt();
    this.education_form = in.readString();
    this.education_status = in.readString();
}

From source file:com.cas.model.Module.java

private Module(Parcel in) {
    this.id = in.readInt();
    this.url = in.readString();
    this.name = in.readString();
    this.description = in.readString();
    this.visible = in.readInt();
    this.modicon = in.readString();
    this.modname = in.readString();
    this.modplural = in.readString();
    this.availablefrom = in.readInt();
    this.availableuntil = in.readInt();
    this.indent = in.readInt();
    in.readTypedList(this.contents, Content.CREATOR);
}

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

/**
 * HealthCareUnit Parcelable Constructor.
 * Parcelable to get passed among activities through Intent (similar to Serialization).
 * Attention to class members order an this use FIFO method.
 *//*from   ww  w  .j  a  v a 2  s .  c  o  m*/
private HealthCareUnit(Parcel in) {
    setId(in.readInt());
    setName(in.readString());
    setDescription(in.readString());
    setLevelString(in.readString());
    setCapacity(in.readInt());
}

From source file:com.citrus.sdk.CitrusUser.java

private CitrusUser(Parcel in) {
    this.firstName = in.readString();
    this.lastName = in.readString();
    this.emailId = in.readString();
    this.mobileNo = in.readString();
    this.address = in.readParcelable(Address.class.getClassLoader());
}

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

/**
 * Plan Parcelable Constructor./*from  w  w  w  .  j  a v a2s  .  c  o  m*/
 * Parcelable to get passed among activities through Intent (similar to Serialization).
 * Attention to class members order an this use FIFO method.
 */
private Plan(Parcel in) {
    setId(in.readInt());
    setCreationDateString(in.readString());
    setLastModificationDateString(in.readString());
    setPriorityString(in.readString());
    setDescription(in.readString());
    setObservation(in.readString());
    setObjective(in.readString());
    setRisk(in.readString());
    setCheckList(in.readString());
}

From source file:com.nextgis.maplib.datasource.ngw.Connection.java

protected Connection(Parcel in) {
    mName = in.readString();
    mLogin = in.readString();//from www.j  a  va2s  . c  om
    mPassword = in.readString();
    mURL = in.readString();
    mIsConnected = in.readByte() == 1;
    mCookie = in.readString();
    mId = in.readInt();
    int count = in.readInt();
    mSupportedTypes = new ArrayList<>();
    for (int i = 0; i < count; i++)
        mSupportedTypes.add(in.readInt());
    mRootResource = in.readParcelable(ResourceGroup.class.getClassLoader());
    mRootResource.setConnection(this);
    mRootResource.setParent(this);
}

From source file:net.giovannicapuano.galax.controller.User.java

public User(Parcel parcel) {
    this.id = parcel.readInt();
    this.username = parcel.readString();
    this.email = parcel.readString();
    this.address = parcel.readString();
}

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

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