Moreover, Parcelize plugin makes a class natively ...
# serialization
e
Moreover, Parcelize plugin makes a class natively implement
android.os.Parcelable
interface, so if you have
val obj: MyData = xxx
and
MyData
is marked with
@Parcelize
, then you can write
parcel.writeValue(obj)
with
parcel.readValue()
and it’s going to work out-of-the box.