I like that you don't have a subclass like in Parceler and other similar libraries.
How about changing the code you have to write to something like code below?
@ParcelablePlease
public class Model implements Parcelable {
int id;
String name;
OtherModel otherModel;
@Override public int describeContents() {
return 0;
}
@Override public void writeToParcel(Parcel dest, int flags) {
ModelParcelablePlease.writeToParcel(this, dest, flags);
}
public static final Creator<Model> CREATOR = ModelParcelablePlease.creator();
}
I like that you don't have a subclass like in Parceler and other similar libraries.
How about changing the code you have to write to something like code below?