DynamicIncludeGraphNavigator.DynamicIncludeNavGraph


public final class DynamicIncludeGraphNavigator.DynamicIncludeNavGraph extends NavDestination


The graph for dynamic-include.

This class contains information to navigate to a DynamicNavGraph which is contained within a dynamic feature module.

Summary

Public methods

boolean
equals(Object other)
final String

The graph's package.

final String

Resource name of the graph.

final String

Name of the module containing the included graph, if set.

int
void
final void

The graph's package.

final void

Resource name of the graph.

final void

Name of the module containing the included graph, if set.

Inherited methods

From androidx.navigation.NavDestination
final void
addArgument(@NonNull String argumentName, @NonNull NavArgument argument)
final void
final void
addDeepLink(@NonNull String uriPattern)
final String
fillInLabel(@NonNull Context context, Bundle bundle)
final NavAction
getAction(@IdRes int id)
final @NonNull Map<@NonNull String, @NonNull NavArgument>
final @IdRes int
final CharSequence
final @NonNull String
final NavGraph
final String
boolean
boolean
hasDeepLink(@NonNull Uri deepLink)
final void
putAction(@IdRes int actionId, @NonNull NavAction action)
final void
putAction(@IdRes int actionId, @IdRes int destId)
final void
removeAction(@IdRes int actionId)
final void
removeArgument(@NonNull String argumentName)
final void
setId(@IdRes int value)
final void
final void
setRoute(String <set-?>)
@NonNull String

Public methods

equals

public boolean equals(Object other)

getGraphPackage

Added in 2.3.0
public final String getGraphPackage()

The graph's package.

getGraphResourceName

Added in 2.3.0
public final String getGraphResourceName()

Resource name of the graph.

getModuleName

Added in 2.3.0
public final String getModuleName()

Name of the module containing the included graph, if set.

hashCode

public int hashCode()

onInflate

public void onInflate(@NonNull Context context, @NonNull AttributeSet attrs)

setGraphPackage

Added in 2.3.0
public final void setGraphPackage(String value)

The graph's package.

setGraphResourceName

Added in 2.3.0
public final void setGraphResourceName(String value)

Resource name of the graph.

setModuleName

Added in 2.3.0
public final void setModuleName(String value)

Name of the module containing the included graph, if set.