NavigationModule
class NavigationModule : ModuleWithLogic<NavigationState, NavigationAction, NavigationLogic> , CustomTypeRegistrar(source)
The MVLI module that owns the navigation system.
NavigationModule wires together the static graph definition, the mutable NavigationState, the pure reducer, and the side-effecting NavigationLogic. It is the single source of truth for all navigation-related state in a Reaktiv store.
Create an instance using the createNavigationModule top-level function or the companion create helper:
val navModule = createNavigationModule {
graph("root") {
start(HomeScreen)
screen(HomeScreen)
screen(ProfileScreen)
graph("auth") {
start(LoginScreen)
screen(LoginScreen)
}
}
notFoundScreen(NotFoundScreen)
}Content copied to clipboard
See also
Properties
Functions
Link copied to clipboard
Get all registered full paths mapped to their navigatables.
Link copied to clipboard
Get the full path for a Navigatable.
Link copied to clipboard
Get the graph ID for a NavigationEntry.
Link copied to clipboard
Returns the LoadingModal configured for this module, or null if none was provided.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard