getFullPath

Get the full path for a Navigatable.

The full path includes all graph prefixes, making it unambiguous for navigation. For example, a screen with route "tools" nested in graphs home -> workspace -> projects would have full path "home/workspace/projects/tools".

Usage:

val path = store.getFullPath(ToolsScreen)
// Returns "home/workspace/projects/tools"

// Use in navigation:
store.navigation {
navigateTo(store.getFullPath(ToolsScreen)!!)
}

Return

The full path, or null if the navigatable is not registered

Parameters

navigatable

The screen or modal to get the path for