Closed Diy2210 closed 4 years ago
@Diy2210 just build @Parcelable class for argument data.
@Parcelize
data class Arg(val title: String, val url: String, val token: String): Parcelable
@Diy2210 just build @parcelable class for argument data.
@Parcelize data class Arg(val title: String, val url: String, val token: String): Parcelable
I build Parcelize, but I get error in App.class:
@Diy2210 your route require Arg
type of argument...here sample of argument pass - https://github.com/icerockdev/moko-widgets/blob/d454975028bb036a74fc0af7230dde49643be802/sample/mpp-library/src/commonMain/kotlin/App.kt#L363
@Diy2210 your route require
Arg
type of argument...here sample of argument pass -
Tnx again!
How to add multiple arguments to Route<?, ?, ?> if Route have one arg?