1
votes

I am implementing parceler using lib by link

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

1
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