Android, Jetpack Compose, Android App Development, Mobile App Development, Programming.
String): ScreenInfo? = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { bundle.getParcelable(key, ScreenInfo::class.java) } else { @Suppress("DEPRECATION") // for backwards compatibility bundle.getParcelable(key) } override fun put(bundle: Bundle, key: String, value: ScreenInfo) =