Example usage for android.os Parcel writeList

List of usage examples for android.os Parcel writeList

Introduction

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

Prototype

public final void writeList(List val) 

Source Link

Document

Flatten a List into the parcel at the current dataPosition(), growing dataCapacity() if needed.

Usage

From source file:com.tigerpenguin.places.model.OpeningHours.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(openNow ? 1 : 0);
    dest.writeList(periods);
}

From source file:com.tigerpenguin.places.model.Review.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeList(aspectRatings);
    dest.writeString(authorName);// w  w w. j a  v  a 2 s . c om
    dest.writeString(authorUrl);
    dest.writeSerializable(language);
    dest.writeInt(rating);
    dest.writeString(text);
    dest.writeLong(submitTime);
}

From source file:com.tigerpenguin.places.model.AddressComponent.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(longName);//  w  w  w  . ja  v  a2s  .  c  o  m
    dest.writeString(shortName);
    dest.writeList(addressTypes);
}

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

/**
 * Write Team data to Parcelable. /*  www.  ja v a2  s .c o m*/
 */
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeValue(getLeader());
    dest.writeList(getMembers());
    dest.writeInt(getId());
    dest.writeString(getName());
}

From source file:com.tigerpenguin.places.model.PlaceDetail.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeList(addressComponents);
    dest.writeString(formattedAddress);/*from ww w  .ja  v a 2  s .  c  om*/
    dest.writeString(localPhone);
    dest.writeParcelable(geometry, flags);
    dest.writeString(iconUrl);
    dest.writeString(placeId);
    dest.writeString(internationalPhone);
    dest.writeString(name);
    dest.writeParcelable(openingHours, flags);
    dest.writeList(photos);
    dest.writeSerializable(priceLevel);
    dest.writeDouble(rating);
    dest.writeList(reviews);
    dest.writeList(types);
    dest.writeString(googlePlacePageUrl);
    dest.writeInt(utcOffset);
    dest.writeString(vicinity);
    dest.writeString(businessWebsite);
}

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

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

From source file:it.polimi.spf.shared.model.SPFQuery.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeList(mTags);
    dest.writeMap(mProfileFields);//from  ww w . j a v a2 s  . c  om
    dest.writeList(mApps);
}

From source file:com.tigerpenguin.places.model.Place.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(placeId);// ww  w  .j a v a  2s . c  om
    dest.writeString(name);
    dest.writeString(vicinity);
    dest.writeString(formattedAddress);
    dest.writeSerializable(priceLevel);
    dest.writeDouble(rating);
    dest.writeString(iconUrl);
    dest.writeList(types);
    dest.writeParcelable(geometry, flags);
    dest.writeParcelable(openingHours, flags);
    dest.writeList(photos);
}

From source file:com.llc.bumpr.sdk.models.Driver.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    // TODO Auto-generated method stub
    dest.writeInt(id);//from   w  w  w.  j a v a  2  s . c om
    dest.writeDouble(fee);
    dest.writeString(licenseId);
    dest.writeString(insuranceId);
    dest.writeDouble(balance);
    dest.writeByte((byte) (active ? 1 : 0));
    dest.writeList(requests);
}

From source file:fiskinfoo.no.sintef.fiskinfoo.Baseclasses.ToolEntry.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(id);/*from w w  w . j  a v  a 2 s.c  o  m*/
    dest.writeList(coordinates);
    dest.writeString(geometry.toString());
    dest.writeString(IMO);
    dest.writeString(IRCS);
    dest.writeString(MMSI);
    dest.writeString(RegNum);
    dest.writeString(VesselName);
    dest.writeString(VesselPhone);
    dest.writeString(VesselEmail);
    dest.writeString(ContactPersonEmail);
    dest.writeString(ContactPersonPhone);
    dest.writeString(ContactPersonName);
    dest.writeString(ToolTypeCode.toString());
    dest.writeString(Source);
    dest.writeString(Comment);
    dest.writeString(ShortComment);
    dest.writeString(RemovedTime);
    dest.writeString(SetupDateTime);
    dest.writeString(ToolId);
    dest.writeString(LastChangedDateTime);
    dest.writeString(LastChangedBySource);
    dest.writeString(toolStatus.toString());
    dest.writeInt(toolLogId);
}