android4-4 Exercise 3: Switch that Survives Rotation ================================================= Extra imports: androidx.compose.material3.Switch, androidx.compose.runtime.mutableStateOf, androidx.compose.runtime.saveable.rememberSaveable. @Composable fun ToggleDemo() { var on by rememberSaveable { mutableStateOf(false) } Column { Switch(checked = on, onCheckedChange = { on = it }) Text(if (on) "On" else "Off") } } Expected: with rememberSaveable the switch keeps its position after rotation. Change it to remember and the switch resets to Off, because the Activity is recreated (Chapter 2). Code unrun; report what you see.