Is there any way to make a final/closed class parcelable? E.g. String
or ZonedDateTime
(from java.time
).
Is there any way to make a final/closed class parcelable?
No, sorry.
E.g. String or ZonedDateTime(from java.time).
Android can already put a String
into a Parcel
, so there is no need somehow make it Parcelable
.
Also, bear in mind that custom Parcelable
classes cannot be used in all cases. I just had to deal with that particular problem this morning.