List of usage examples for android.os Parcel readParcelable
@SuppressWarnings("unchecked") public final <T extends Parcelable> T readParcelable(ClassLoader loader)
From source file:com.eTilbudsavis.etasdk.model.Catalog.java
private Catalog(Parcel in) { this.mErn = in.readString(); this.mLabel = in.readString(); this.mBackground = (Integer) in.readValue(Integer.class.getClassLoader()); long tmpMRunFrom = in.readLong(); this.mRunFrom = tmpMRunFrom == -1 ? null : new Date(tmpMRunFrom); long tmpMRunTill = in.readLong(); this.mRunTill = tmpMRunTill == -1 ? null : new Date(tmpMRunTill); this.mPageCount = in.readInt(); this.mOfferCount = in.readInt(); this.mBranding = in.readParcelable(Branding.class.getClassLoader()); this.mDealerId = in.readString(); this.mDealerUrl = in.readString(); this.mStoreId = in.readString(); this.mStoreUrl = in.readString(); this.mDimension = in.readParcelable(Dimension.class.getClassLoader()); this.mImages = in.readParcelable(Images.class.getClassLoader()); this.mCatrgoryIds = (HashSet<String>) in.readSerializable(); this.mPdfUrl = in.readString(); this.mPages = new ArrayList<Images>(); in.readTypedList(mPages, Images.CREATOR); this.mDealer = in.readParcelable(Dealer.class.getClassLoader()); this.mStore = in.readParcelable(Store.class.getClassLoader()); this.mHotspots = in.readParcelable(HotspotMap.class.getClassLoader()); }
From source file:com.danlvse.weebo.model.User.java
protected User(Parcel in) { this.id = in.readString(); this.idstr = in.readString(); this.screen_name = in.readString(); this.name = in.readString(); this.province = in.readInt(); this.city = in.readInt(); this.location = in.readString(); this.description = in.readString(); this.url = in.readString(); this.profile_image_url = in.readString(); this.profile_url = in.readString(); this.cover_image_phone = in.readString(); this.cover_image = in.readString(); this.domain = in.readString(); this.weihao = in.readString(); this.gender = in.readString(); this.followers_count = in.readInt(); this.friends_count = in.readInt(); this.statuses_count = in.readInt(); this.favourites_count = in.readInt(); this.created_at = in.readString(); this.following = in.readByte() != 0; this.allow_all_act_msg = in.readByte() != 0; this.geo_enabled = in.readByte() != 0; this.verified = in.readByte() != 0; this.verified_type = in.readInt(); this.remark = in.readString(); this.status = in.readParcelable(Feed.class.getClassLoader()); this.allow_all_comment = in.readByte() != 0; this.avatar_large = in.readString(); this.avatar_hd = in.readString(); this.verified_reason = in.readString(); this.follow_me = in.readByte() != 0; this.online_status = in.readInt(); this.bi_followers_count = in.readInt(); this.lang = in.readString(); this.star = in.readString(); this.mbtype = in.readString(); this.mbrank = in.readString(); this.block_word = in.readString(); }
From source file:com.baasbox.android.BaasDocument.java
BaasDocument(Parcel source) { this.collection = source.readString(); this.id = Util.readOptString(source); this.version = source.readLong(); this.author = Util.readOptString(source); this.creation_date = Util.readOptString(source); this.rid = Util.readOptString(source); this.data = source.readParcelable(JsonWrapper.class.getClassLoader()); }
From source file:com.orbar.pxdemo.Model.FiveZeroZeroImageBean.java
public FiveZeroZeroImageBean(Parcel source) { Log.v(TAG, "ParcelData(Parcel source): time to put back parcel data"); id = source.readInt();// w w w . j av a 2 s . c o m userId = source.readInt(); name = source.readString(); description = source.readString(); camera = source.readString(); lens = source.readString(); focalLength = source.readString(); iso = source.readString(); shutterSpeed = source.readString(); aperture = source.readString(); timesViewed = source.readInt(); rating = source.readFloat(); status = source.readInt(); createdAt = source.readString(); category = source.readInt(); location = source.readString(); privacy = source.readByte() == 1; latitude = source.readString(); longitude = source.readString(); takenAt = source.readString(); hiResUploaded = source.readInt(); forSale = source.readByte() == 1; width = source.readInt(); height = source.readInt(); votesCount = source.readInt(); favoritesCount = source.readInt(); commentsCount = source.readInt(); nsfw = source.readByte() == 1; salesCount = source.readInt(); highestRating = source.readFloat(); highestRatingDate = source.readString(); licenseType = source.readInt(); imageUrl = source.readString(); storeDownload = source.readByte() == 1; storePrint = source.readByte() == 1; voted = source.readByte() == 1; favorited = source.readByte() == 1; purchased = source.readByte() == 1; userBean = (FiveZeroZeroUserBean) source.readParcelable(FiveZeroZeroUserBean.class.getClassLoader()); }