We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i am using the below data model and screen.
// commonMain serializable: expect interface CommonSerializable
// androidMain Serializable: actual typealias CommonSerializable = Serializable
// data model: data class Info(val age:Int = 22):CommonSerializable
// Screen: data class MediaPicker(val info:Info) : Screen { override val key: ScreenKey = uniqueScreenKey var count = 1 @composable override fun Content() { count++ println("ENTER THE SCREEN MediaPickerScreen ${info.age}") } }
The content function is called multiple times. Could someone please help me fix this?.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i am using the below data model and screen.
// commonMain serializable:
expect interface CommonSerializable
// androidMain Serializable:
actual typealias CommonSerializable = Serializable
// data model:
data class Info(val age:Int = 22):CommonSerializable
// Screen:
data class MediaPicker(val info:Info) : Screen {
override val key: ScreenKey = uniqueScreenKey
var count = 1
@composable
override fun Content() {
count++
println("ENTER THE SCREEN MediaPickerScreen ${info.age}")
}
}
The content function is called multiple times. Could someone please help me fix this?.
The text was updated successfully, but these errors were encountered: