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 findPathToNavigatable(navigatable: Navigatable, preferredGraphId: String? = null): String?
Link copied to clipboard
fun findRouteInBackStack(targetRoute: String, backStack: List<NavigationEntry>): Int
Link copied to clipboard
Link copied to clipboard
fun resolve(route: String, availableNavigatables: Map<String, Navigatable> = emptyMap()): RouteResolution?
Link copied to clipboard

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