ROUTE

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun extractFromRouteString(routeWithArgs: String): String?

If route for navigation is 'pop_back_stack' then extract any arguments such as route to pop back to, inclusive and save state. It expects the route to be produced by the sealed class's function getRouteWithArguments which produces a route string of the following format for example pop_back_stack?route=main&inclusive=false