I'm currently trying to pass an Object from the main activity to another. My object is Patient
public Patient(int id, String name,JsonReader jsr, JsonWriter jsw, String firstName, String birth,
String vcf, String[] clinicalFactors)
I need the JsonReader and writer on the other side. I saw that i have to make the patient parcelable but from what i understood the method writetoparcel support only some specific type. i tried to use the method writeValue but then at readFromParcel i don't know how to read the stream.
Hope it's sufficiently clear. Thank you in advance