List of usage examples for android.os Parcel writeLong
public final void writeLong(long val)
From source file:com.github.leonardoxh.temporeal.app.model.User.java
@Override public void writeToParcel(Parcel parcel, int flags) { parcel.writeLong(getId() == null ? 0L : getId()); parcel.writeLong(getServerId() == null ? 0L : getServerId()); parcel.writeString(getPlusId());//w ww . ja v a 2s .co m parcel.writeString(getDisplayName()); parcel.writeString(getProfileUrl()); parcel.writeString(getProfileImage()); }
From source file:vandy.mooc.model.provider.Video.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeLong(id); dest.writeString(title);/*from ww w . j av a2s.c om*/ dest.writeLong(duration); dest.writeString(location); dest.writeString(subject); dest.writeString(contentType); dest.writeDouble(rating); dest.writeInt(count); }
From source file:com.fanfou.app.opensource.api.bean.Photo.java
@Override public void writeToParcel(final Parcel dest, final int flags) { dest.writeString(this.id); dest.writeLong(this.createdAt.getTime()); dest.writeString(this.imageUrl); dest.writeString(this.largeUrl); dest.writeString(this.thumbUrl); }
From source file:com.aokyu.dev.pocket.content.Image.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(getUID());//from ww w . j a v a 2 s . co m dest.writeLong(getId()); dest.writeString(getSource()); dest.writeInt(getWidth()); dest.writeInt(getHeight()); dest.writeString(mCredit); dest.writeString(mCaption); }
From source file:com.aokyu.dev.pocket.content.Video.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(getUID());// w w w. ja v a2 s. c o m dest.writeLong(getId()); dest.writeString(getSource()); dest.writeInt(getWidth()); dest.writeInt(getHeight()); dest.writeString(mType); dest.writeString(mVid); }
From source file:vandy.mooc.model.provider.VideoClient.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeLong(id); dest.writeString(title);/*from w w w. j a v a 2 s . c o m*/ dest.writeLong(duration); dest.writeString(location); dest.writeString(subject); dest.writeString(contentType); dest.writeDouble(rating); dest.writeInt(count); dest.writeString(filepath); }
From source file:com.ksk.droidbatterybooster.provider.PowerSchedule.java
@Override public void writeToParcel(Parcel p, int flags) { p.writeLong(id); p.writeInt(enabled ? 1 : 0);//from ww w . j a v a 2 s . c o m p.writeInt(level); p.writeLong(modeId); }
From source file:ir.aarani.bazaar.billing.TransactionDetails.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.productId); dest.writeString(this.orderId); dest.writeString(this.purchaseToken); dest.writeLong(purchaseTime != null ? purchaseTime.getTime() : -1); dest.writeParcelable(this.purchaseInfo, flags); }
From source file:com.liferay.alerts.model.Alert.java
@Override public void writeToParcel(Parcel parcel, int flags) { parcel.writeLong(_id); parcel.writeParcelable(_user, 0);/*from w w w. j a v a2s.co m*/ parcel.writeString(_payload.toString()); parcel.writeInt((_read ? 1 : 0)); parcel.writeLong(_timestamp); }
From source file:com.codebutler.farebot.card.Card.java
public void writeToParcel(Parcel parcel, int flags) { parcel.writeInt(mTagId.length);/* w ww . j a v a 2 s.co m*/ parcel.writeByteArray(mTagId); parcel.writeLong(mScannedAt.getTime()); }