Example #1
0
 @Override
 public void writeToParcel(Parcel out, int flags) {
   out.writeParcelable(mBeenhere, flags);
   ParcelUtils.writeStringToParcel(out, mCheckins);
   ParcelUtils.writeStringToParcel(out, mHereNow);
   out.writeParcelable(mMayor, flags);
 }
Example #2
0
 private Stats(Parcel in) {
   mBeenhere = in.readParcelable(Beenhere.class.getClassLoader());
   mCheckins = ParcelUtils.readStringFromParcel(in);
   mHereNow = ParcelUtils.readStringFromParcel(in);
   mMayor = in.readParcelable(Mayor.class.getClassLoader());
 }