Hallo anyone use voyager?i got an issue, i have ma...
# compose
r
Hallo anyone use voyager?i got an issue, i have main screen with 2 tab, from inner tab screen i want to navigate using main screen navigator to open detail screen, when i added a callback in tab screen there is always got error
android.os.BadParcelableException: Parcelable encountered IOException writing serializable object
. Does anyone know how to fix it?
a
Hey did you figure this out? This error is likely due to having an argument in your tab or screen that can't be serialized
Arguments for the screen classes themselves have to be simple; can't be a viewmodel or whatever
r
i add a unit callback in tab screen but with @Transient with it
this callback to navigate screen into another screen using navigator in the main screen
192 Views