List of usage examples for android.os Parcel readInt
public final int readInt()
From source file:com.vk.sdk.api.model.VKApiGetMessagesResponse.java
/** * Creates an MessagesResponse instance from Parcel. *///from w w w . j av a2s. c om public VKApiGetMessagesResponse(Parcel in) { this.count = in.readInt(); this.items = in.readParcelable(VKList.class.getClassLoader()); }
From source file:com.vk.sdk.api.model.VKApiGetDialogResponse.java
/** * Creates an DialogResponse instance from Parcel. *//* w ww. j a v a 2s.c om*/ public VKApiGetDialogResponse(Parcel in) { this.count = in.readInt(); this.unread_dialogs = in.readInt(); this.items = in.readParcelable(VKList.class.getClassLoader()); }
From source file:com.vk.sdk.api.model.VKApiCity.java
/** * Creates a City instance from Parcel./*from w w w . j a v a 2s.c o m*/ */ public VKApiCity(Parcel in) { this.id = in.readInt(); this.title = in.readString(); }
From source file:com.vk.sdk.api.model.VKApiCountry.java
/** * Creates a Country instance from Parcel. *///from w ww .j a v a 2 s.com public VKApiCountry(Parcel in) { this.id = in.readInt(); this.title = in.readString(); }
From source file:com.vk.sdk.api.model.VKApiDialog.java
/** * Creates an Dialog instance from Parcel. *//*w ww . jav a 2s . co m*/ public VKApiDialog(Parcel in) { this.unread = in.readInt(); this.message = in.readParcelable(VKApiMessage.class.getClassLoader()); }
From source file:ca.frozen.curlingtv.classes.Settings.java
private void readFromParcel(Parcel in) { port = in.readInt(); }
From source file:com.vk.sdk.api.model.VKApiOwner.java
/** * Creates an owner from Parcel. */ public VKApiOwner(Parcel in) { this.id = in.readInt(); }
From source file:com.codebutler.farebot.transit.MensacardTransitData.java
public MensacardTransitData(Parcel parcel) { mBalance = parcel.readInt(); lastTransaction = parcel.readInt(); }
From source file:com.tigerpenguin.places.model.AspectRating.java
public AspectRating(Parcel in) { aspectType = (AspectType) in.readSerializable(); rating = in.readInt(); }
From source file:android.support.design.internal.ParcelableSparseArray.java
public ParcelableSparseArray(Parcel source, ClassLoader loader) { super();/*from w ww . ja v a 2s . c om*/ int size = source.readInt(); int[] keys = new int[size]; source.readIntArray(keys); Parcelable[] values = source.readParcelableArray(loader); for (int i = 0; i < size; ++i) { put(keys[i], values[i]); } }