Package-level declarations
Types
A combination of Navigator and com.freeletics.khonshu.navigation.activity.ActivityNavigator that can be used as base class for navigators of individual screens.
A destination that can be navigated to. See NavHost for how to configure a NavGraph with it.
Class returned from registerForNavigationResult.
Functions
Create a new NavHost with the given HostNavigator. The start NavRoot, available destinations and deep link handling are all dependent on the navigator. For more see rememberHostNavigator.
Create a new NavHost containing all given destinations. startRoute will be used as the start destination of the graph. Use HostNavigator and DestinationNavigator to change what is shown in NavHost.
Creates a new NavDestination that is shown on top a ScreenDestination, for example a dialog or bottom sheet. The class of Route will be used as a unique identifier. The given content will be shown inside the dialog window when navigating to it by using an instance of Route.
Register for receiving navigation results.
Returns an instance of HostNavigator with the given destinations and startRoot as initially shown destination.
Creates a new NavDestination that represents a full screen. The class of Route will be used as a unique identifier. The given content will be shown when the screen is being navigated to using an instance of Route.