I want to Parcel the value that has datatype of "Object".
For that I am using writeValue(Object v)
method.
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeValue(lockMemberScore);
dest.writeValue(lockFollowedMemberScore);
dest.writeValue(lockGroupAvgScore);
}
But It is giving me the following error
01-01 11:22:00.479: E/SyncService(9647): Parcel: unable to marshal value java.lang.Object@4122e3c0