PopTo

data class PopTo<SpecRow : NavigationBundleSpecRow<*>, Action : NavigationAction<SpecRow>>(routeAction: Action, val result: Route.Result = Result.Empty) : Route.Navigate<SpecRow, Action>

Navigate that navigates back to the screen associated with a NavigationAction

Parameters

SpecRow

the type of NavigationBundleSpecRow associated with the action.

Action

the type NavigationAction to navigate for.

Constructors

Link copied to clipboard
constructor(routeAction: Action, result: Route.Result = Result.Empty)

Properties

Link copied to clipboard

The Result to be provided to the screen to navigate back to.

Link copied to clipboard

The string value of the route to navigate to