Android, Jetpack Compose, Android App Development, Mobile App Development, Programming.
might be a need to pass something more complex between the screens than primitives only. Here is an additional data class, which will become part of the input for the second screen. @Serializable @Parcelize data class ScreenInfo(val route: String, val id: Int) : Parcelable @Serializable sealed