Sean Proctor
01/24/2024, 3:48 PMremember
works in a particular situation. NavigationContainer
changes style based on screen width which is stored in a composition local value, and the value of index
is remember separately for each width, but I want it to be the same for all of them.
NavigationContainer {
var index by remember { mutableStateOf(0) }
TabRow(...)
}
Albert Chang
01/24/2024, 4:06 PMSean Proctor
01/24/2024, 4:10 PM