Class

BackNavigationBehavior.PopUntilCurrentDestinationChange

Pop destinations from the backstack until there is a change in the current destination pane.

Source set: Android
PopUntilCurrentDestinationChange

Pop destinations from the backstack until there is a change in the current destination pane.

In a single-pane layout, this should behave similarly to PopUntilScaffoldValueChange. In a multi-pane layout, it is possible for both the current destination and previous destination to be showing at the same time, so this may not result in a visual change in the scaffold.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: