DialogFragmentNavigator.Destination

@NavDestination.ClassType(value = DialogFragment) public class DialogFragmentNavigator.Destination extends NavDestination implements FloatingWindow


NavDestination specific to DialogFragmentNavigator.

Construct a new fragment destination. This destination is not valid until you set the Fragment via setClassName.

Summary

Public fields

final @NonNull String

The DialogFragment's class name associated with this destination

Public constructors

Destination(NavigatorProvider navigatorProvider)

Construct a new fragment destination.

Public methods

boolean
equals(Object other)
int
@CallSuper void
onInflate(Context context, AttributeSet attrs)

Called when inflating a destination from a resource.

final @NonNull DialogFragmentNavigator.Destination
setClassName(String className)

Set the DialogFragment class name associated with this destination

Inherited methods

From class NavDestination
final void
addArgument(String argumentName, NavArgument argument)

Sets an argument type for an argument name

final void
addDeepLink(NavDeepLink navDeepLink)

Add a deep link to this destination.

final void
addDeepLink(String uriPattern)

Add a deep link to this destination.

final NavAction
getAction(@IdRes int id)

Returns the NavAction for the given action ID.

boolean
hasDeepLink(Uri deepLink)

Checks the given deep link