androidx.compose.material3.adaptive.navigation
BackNavigationBehaviorExperimental
Value class · from org.jetbrains.compose.material3.adaptive:adaptive-navigation:1.3.0
No hand-written docs yet.
A class to control how back navigation should behave in a ThreePaneScaffoldNavigator.
value class BackNavigationBehavior
Used by
Parameters that take a BackNavigationBehavior.
ThreePaneScaffoldNavigator.canNavigateBack(backNavigationBehavior)ThreePaneScaffoldNavigator.navigateBack(backNavigationBehavior)ThreePaneScaffoldNavigator.peekPreviousScaffoldValue(backNavigationBehavior)ThreePaneScaffoldNavigator.seekBack(backNavigationBehavior)
Properties
PopLatest
val PopLatest: BackNavigationBehavior
Pop the latest destination from the backstack.
PopUntilScaffoldValueChange
val PopUntilScaffoldValueChange: BackNavigationBehavior
Pop destinations from the backstack until there is a change in the scaffold value. In other words, back navigation forces a change in which pane(s) is/are shown.
PopUntilCurrentDestinationChange
val PopUntilCurrentDestinationChange: BackNavigationBehavior
Pop destinations from the backstack until there is a change in the current destination pane. In other words, back navigation forces a change in which pane is currently considered "active", as determined by the pane of the current ThreePaneScaffoldDestinationItem.
PopUntilContentChange
val PopUntilContentChange: BackNavigationBehavior
Pop destinations from the backstack until there is a content change.
Library docs
A class to control how back navigation should behave in a ThreePaneScaffoldNavigator.