Ejemplo n.º 1
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(hash);
   dest.writeString(account_url);
   dest.writeString(title);
   dest.writeInt(score);
   dest.writeInt(starting_score);
   dest.writeFloat(virality);
   dest.writeInt(size);
   dest.writeLong(views);
   dest.writeByte(AndroidUtil.parcelBoolean(is_hot));
   dest.writeByte(AndroidUtil.parcelBoolean(is_album));
   dest.writeString(album_cover);
   dest.writeString(mimetype);
   dest.writeString(ext);
   dest.writeInt(width);
   dest.writeInt(height);
   dest.writeInt(ups);
   dest.writeInt(downs);
   dest.writeInt(points);
   dest.writeString(reddit);
   dest.writeString(bandwidth);
   dest.writeString(timestamp);
   dest.writeString(hot_datetime);
   dest.writeList(images);
 }
Ejemplo n.º 2
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeLong(id);
   dest.writeString(hash);
   dest.writeString(caption);
   dest.writeString(author);
   dest.writeLong(author_id);
   dest.writeInt(ups);
   dest.writeInt(downs);
   dest.writeFloat(best_score);
   dest.writeInt(points);
   dest.writeString(datetime);
   dest.writeLong(parent_id);
   dest.writeByte(AndroidUtil.parcelBoolean(deleted));
   dest.writeByte(AndroidUtil.parcelBoolean(on_album));
   dest.writeString(album_cover);
 }
Ejemplo n.º 3
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(hash);
   dest.writeString(title);
   dest.writeString(description);
   dest.writeInt(width);
   dest.writeInt(height);
   dest.writeInt(size);
   dest.writeString(ext);
   dest.writeByte(AndroidUtil.parcelBoolean(animated));
   dest.writeString(datetime);
 }
Ejemplo n.º 4
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeParcelable(data, 0);
   dest.writeByte(AndroidUtil.parcelBoolean(success));
   dest.writeInt(status);
 }