DynamicGraphNavigator.DynamicNavGraph


class DynamicGraphNavigator.DynamicNavGraph : NavGraph


The NavGraph for dynamic features.

Summary

Public constructors

DynamicNavGraph(
    navGraphNavigator: DynamicGraphNavigator,
    navigatorProvider: NavigatorProvider
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open Unit
onInflate(context: Context, attrs: AttributeSet)

Public properties

String?

The dynamic feature's module name.

Int

Resource id of progress destination.

Inherited functions

From kotlin.collections.Iterable
From androidx.navigation.NavDestination
Unit
addArgument(argumentName: String, argument: NavArgument)
Unit
addDeepLink(navDeepLink: NavDeepLink)
Unit
addDeepLink(uriPattern: String)
String?
fillInLabel(context: Context, bundle: Bundle?)
NavAction?
open Boolean
hasDeepLink(deepLinkRequest: NavDeepLinkRequest)
open Boolean
hasDeepLink(deepLink: Uri)
Unit
putAction(actionId: @IdRes Int, action: NavAction)
Unit
putAction(actionId: @IdRes Int, destId: @IdRes Int)
Unit
removeAction(actionId: @IdRes Int)
Unit
removeArgument(argumentName: String)
From androidx.navigation.NavGraph
Unit
addAll(other: NavGraph)
Unit
Unit
Unit
Unit
inline NavDestination?
<T : Any?> findNode()
NavDestination?
findNode(resId: @IdRes Int)
NavDestination?
findNode(route: KClass<*>)
NavDestination?
<T : Any?> findNode(route: T?)
NavDestination?
findNode(route: String?)
@IdRes Int

This function is deprecated. Use getStartDestinationId instead.

final operator MutableIterator<NavDestination>
Unit
inline Unit
Unit
setStartDestination(startDestId: Int)
Unit
<T : Any> setStartDestination(startDestRoute: KClass<T>)
Unit
<T : Any> setStartDestination(startDestRoute: T)
Unit
setStartDestination(startDestRoute: String)
open String

Public constructors

DynamicNavGraph

Added in 2.3.0
DynamicNavGraph(
    navGraphNavigator: DynamicGraphNavigator,
    navigatorProvider: NavigatorProvider
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

onInflate

open fun onInflate(context: Context, attrs: AttributeSet): Unit

Public properties

moduleName

Added in 2.3.0
var moduleNameString?

The dynamic feature's module name.

progressDestination

Added in 2.3.0
var progressDestinationInt

Resource id of progress destination. This will be preferred over any default progress destination set by installDefaultProgressDestination.