Package-level declarations

Types

Link copied to clipboard
data class AnimationDecision(val shouldAnimateEnter: Boolean, val shouldAnimateExit: Boolean, val isForward: Boolean, val enterTransition: NavTransition, val exitTransition: NavTransition)

Represents the decision of what animations should run for a navigation transition

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun buildGraphHierarchyPath(targetGraphId: String, graphDefinitions: Map<String, NavigationGraph>): List<NavigationGraph>
Link copied to clipboard
fun determineAnimationDecision(previousEntry: NavigationEntry, currentEntry: NavigationEntry, navModule: NavigationModule, isExplicitBackNavigation: Boolean = false): AnimationDecision

Centralized function to determine what animations should run for a navigation transition

Link copied to clipboard
fun determineContentAnimationDecision(previousEntry: NavigationEntry, currentEntry: NavigationEntry, navModule: NavigationModule, isExplicitBackNavigation: Boolean = false): AnimationDecision
Link copied to clipboard
Link copied to clipboard
fun findParentGraph(targetGraph: NavigationGraph, graphDefinitions: Map<String, NavigationGraph>): NavigationGraph?
Link copied to clipboard

Get the full path for a Navigatable.

Link copied to clipboard

Convenience extension to get NavigationModule from a StoreAccessor (or Store).

Link copied to clipboard
fun NavigationDebugger(navigationState: NavigationState, store: Store)
Link copied to clipboard

Parse URL-style string with query parameters Returns a Pair of (cleanPath, queryParams)

Link copied to clipboard

Get the full path for a Navigatable, throwing if not found.