Package-level declarations
Types
Handles the navigation actions.
It resolves the argument values for given a navBackStackEntry for the navDestination.
Represents a key for a navigation argument.
Represents some Destination in the Navigation graph. It's defined by a destinationId and a list of arguments.
Represents the navigation route to reach some destination. NavAction.navigate receives a NavRoute object.
Represents a TopLevel NavDestination.
Functions
Add the Composable to the NavGraphBuilder
Add the Composable to the NavGraphBuilder that will be hosted within a androidx.compose.ui.window.Dialog. This is suitable only when this dialog represents a separate screen in your app that needs its own lifecycle and saved state, independent of any other destination in your navigation graph. For use cases such as AlertDialog
, you should use those APIs directly in the composable destination that wants to show that dialog.
Once this is called, any Composable within the given NavGraphBuilder can be navigated to from the provided navController.
Construct a nested NavGraph
Creates a NavAction that is remembered across compositions.