DefaultNavigator
class DefaultNavigator<Action : NavigationAction<*>>(val onAction: (Action) -> Unit) : Navigator<Action>
Deprecated
This feature has been deprecated. It is recommended to use Compose Multiplatform instead.
Functions
Link copied to clipboard
Triggers a given NavigationAction
Link copied to clipboard
fun <Action : NavigationAction<*>> Navigator<Action>.navigateOrElse(action: Action, onFailure: () -> Unit)
Triggers a given NavigationAction or executes a closure if the navigation failed to complete.
Link copied to clipboard
Triggers a given NavigationAction and returns true if it succeeded.