i am using the navigation compose with typesafe arg feature i have a
data class ScreenA(val customType: CustomType)
CustomType
is a Parcelable i don't own it's implementation how can i make this data class Serializable
r
Rok Oblak
08/17/2024, 7:41 AM
Not owning a class is a good hint that you probably shouldn't try to serialize it but instead use a lighter solution, for example write your own model which can be serialized, or retrieve this model in the result screen via am ID.