It working when i using basic type: int, String, double, ...
But now, i have some field with specific type like: context, custom class ?
So I must do something with problem? need help
Parcelable is done to share model objects between activities/fragments. You shouldn't even think to parcelable or serialize a Context object.
– Blackbelt
but it run error with, "unable to find read/write generator for type context:content"
– Nguyễn Hoàng
1 Answers
0
votes
if you go the library description you can see the number of supported parameter listing there
for Custom you need to annotated class with
@Parcel
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
Parcelable
is done to share model objects between activities/fragments. You shouldn't even think to parcelable or serialize a Context object. – Blackbelt