Navigator

Deprecated

This feature has been deprecated. It is recommended to use Compose Multiplatform instead.

Class that can trigger a given NavigationAction

Type Parameters

Action

the type of NavigationAction this navigator should respond to.

Inheritors

Deprecated

This feature has been deprecated. It is recommended to use Compose Multiplatform instead.

Class that can trigger a given NavigationAction

Type Parameters

Action

the type of NavigationAction this navigator should respond to.

Deprecated

This feature has been deprecated. It is recommended to use Compose Multiplatform instead.

Class that can trigger a given NavigationAction

Type Parameters

Action

the type of NavigationAction this navigator should respond to.

Inheritors

Functions

Link copied to clipboard
actual abstract fun navigate(action: Action)

Triggers a given NavigationAction

expect abstract fun navigate(action: Action)

Triggers a given NavigationAction

actual abstract fun navigate(action: Action)

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.