List of usage examples for android.os Parcel readString
public final String readString()
From source file:com.nextgis.firereporter.ScanexSubscriptionItem.java
private ScanexSubscriptionItem(Parcel in) { nID = in.readLong();//from w w w. j av a 2 s. c o m sTitle = in.readString(); sLayerName = in.readString(); sWKT = in.readString(); bSMSEnable = in.readInt() == 1 ? true : false; bHasNews = in.readInt() == 1 ? true : false; mmoItems = new HashMap<Long, ScanexNotificationItem>(); int nSize = in.readInt(); for (int i = 0; i < nSize; i++) { ScanexNotificationItem it = (ScanexNotificationItem) in .readValue(ScanexNotificationItem.class.getClassLoader()); mmoItems.put(it.GetId(), it); } }
From source file:io.openkit.OKAchievement.java
private OKAchievement(Parcel in) { //private String name; name = in.readString(); //private int OKAPP_id; OKAPP_id = in.readInt();/*from ww w. j ava2 s . com*/ //private int OKLeaderboard_id; achievementId = in.readInt(); //private boolean inDevelopment; inDevelopment = intToBool(in.readInt()); //private String unlockedIconUrl; unlockedIconUrl = in.readString(); //private String lockedIconUrl; lockedIconUrl = in.readString(); //private int points; points = in.readInt(); //private int goal; goal = in.readInt(); //private int progress; progress = in.readInt(); //private String description description = in.readString(); }
From source file:com.vk.sdk.api.model.VKPhotoSizes.java
private VKPhotoSizes(Parcel in) { super(in);//from w ww.j a va 2 s. c o m this.mOriginalWidth = in.readInt(); this.mOriginalHeight = in.readInt(); this.mWidthThumb = in.readString(); this.mLastWidth = in.readInt(); }
From source file:com.fanfou.app.opensource.api.bean.User.java
public User(final Parcel in) { this.id = in.readString(); this.ownerId = in.readString(); this.createdAt = new Date(in.readLong()); this.type = in.readInt(); this.screenName = in.readString(); this.location = in.readString(); this.gender = in.readString(); this.birthday = in.readString(); this.description = in.readString(); this.profileImageUrl = in.readString(); this.url = in.readString(); this.protect = in.readInt() == 0 ? false : true; this.followersCount = in.readInt(); this.friendsCount = in.readInt(); this.favouritesCount = in.readInt(); this.statusesCount = in.readInt(); this.following = in.readInt() == 0 ? false : true; }
From source file:com.shizhefei.view.multitype.provider.FragmentData.java
protected FragmentData(Parcel in) { this.arguments = in.readBundle(); this.fragmentClass = (Class<? extends Fragment>) in.readSerializable(); this.tag = in.readString(); }
From source file:io.nuclei.cyto.share.PackageTargetManager.java
protected PackageTargetManager(Parcel in) { mFacebookId = in.readString(); mText = in.readString();// www.j a v a 2 s . c o m mUrl = in.readString(); mEmail = in.readString(); mSubject = in.readString(); mFile = (File) in.readSerializable(); mUri = in.readParcelable(getClass().getClassLoader()); }
From source file:fr.free.nrw.commons.contributions.Contribution.java
public Contribution(Parcel in) { super(in);//from ww w . j a v a 2 s .c o m contentUri = in.readParcelable(Uri.class.getClassLoader()); source = in.readString(); state = in.readInt(); transferred = in.readLong(); isMultiple = in.readInt() == 1; }
From source file:com.vk.sdk.api.model.VKApiPhotoSize.java
private VKApiPhotoSize(Parcel in) { this.src = in.readString(); this.width = in.readInt(); this.height = in.readInt(); this.type = (char) in.readInt(); }
From source file:com.eTilbudsavis.etasdk.model.Typeahead.java
private Typeahead(Parcel in) { this.mLength = in.readInt(); this.mOffset = in.readInt(); this.mSubject = in.readString(); }
From source file:com.vk.sdk.api.model.VKApiMessage.java
/** * Creates a Message instance from Parcel. */// www . java 2 s. co m public VKApiMessage(Parcel in) { this.id = in.readInt(); this.user_id = in.readInt(); this.date = in.readLong(); this.read_state = in.readByte() != 0; this.out = in.readByte() != 0; this.title = in.readString(); this.body = in.readString(); this.attachments = in.readParcelable(VKAttachments.class.getClassLoader()); this.fwd_messages = in.readParcelable(VKList.class.getClassLoader()); this.emoji = in.readByte() != 0; this.deleted = in.readByte() != 0; }