Pablo
02/21/2025, 11:00 PMListDetailPaneScaffold
and If I go to another screen when navigator.scaffoldValue.primary
is expanded (detail pane on screen) and then come back to the ListDetailPaneScaffold
screen, then, the navigator.scaffoldValue.primary
is hidden. How can tell it to remember that it must be expanded? I'm using this for declaring the `navigator`:
val navigator = rememberListDetailPaneScaffoldNavigator<Int>()
It seems that internally uses rememberSaveable, so I don't know how to solve this.Pablo
02/22/2025, 10:05 AMnavigator.currentDestination.content: 6
navigator.currentDestination.pane: Primary
PaneAdaptedValue(description=Expanded)
after going to another screen and coming back
navigator.currentDestination.content: null
navigator.currentDestination.pane: Secondary
PaneAdaptedValue(description=Hidden)
I don't know why that is happening, because I'm using this to remember the navigator:
val navigator = rememberListDetailPaneScaffoldNavigator<Int>()