RouteResolver

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard

Build the hierarchy of paths for backstack synthesis. For a path like "auth/signup/verify", returns "auth", "auth/signup", "auth/signup/verify"

Link copied to clipboard
Link copied to clipboard
fun findRouteInBackStack(targetRoute: String, backStack: List<NavigationEntry>): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The resolution for the configured notFound screen, or null when none is configured.

Link copied to clipboard
fun resolve(route: String, availableNavigatables: Map<String, Navigatable> = emptyMap()): RouteResolution?

Resolves a route or full path to a destination, or null when nothing matches.

Link copied to clipboard

Check if a path resolves to a valid backstack entry. Returns the resolution if: