public class

DialogFragmentNavigator.Destination

extends NavDestination

implements FloatingWindow

 java.lang.Object

androidx.navigation.NavDestination

↳androidx.navigation.fragment.DialogFragmentNavigator.Destination

Overview

NavDestination specific to DialogFragmentNavigator.

Summary

Constructors
publicDestination(Navigator<DialogFragmentNavigator.Destination> fragmentNavigator)

Construct a new fragment destination.

publicDestination(NavigatorProvider navigatorProvider)

Construct a new fragment destination.

Methods
public final java.lang.StringgetClassName()

Gets the DialogFragment's class name associated with this destination

public voidonInflate(Context context, AttributeSet attrs)

Called when inflating a destination from a resource.

public final DialogFragmentNavigator.DestinationsetClassName(java.lang.String className)

Set the DialogFragment class name associated with this destination

from NavDestinationaddArgument, addDeepLink, addDeepLink, getAction, getArguments, getDisplayName, getId, getLabel, getNavigatorName, getParent, hasDeepLink, parseClassFromName, putAction, putAction, removeAction, removeArgument, setId, setLabel, toString
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructors

public Destination(NavigatorProvider navigatorProvider)

Construct a new fragment destination. This destination is not valid until you set the Fragment via DialogFragmentNavigator.Destination.setClassName(String).

Parameters:

navigatorProvider: The NavController which this destination will be associated with.

public Destination(Navigator<DialogFragmentNavigator.Destination> fragmentNavigator)

Construct a new fragment destination. This destination is not valid until you set the Fragment via DialogFragmentNavigator.Destination.setClassName(String).

Parameters:

fragmentNavigator: The DialogFragmentNavigator which this destination will be associated with. Generally retrieved via a NavController's NavigatorProvider.getNavigator(Class) method.

Methods

public void onInflate(Context context, AttributeSet attrs)

Called when inflating a destination from a resource.

Parameters:

context: local context performing inflation
attrs: attrs to parse during inflation

public final DialogFragmentNavigator.Destination setClassName(java.lang.String className)

Set the DialogFragment class name associated with this destination

Parameters:

className: The class name of the DialogFragment to show when you navigate to this destination

Returns:

this DialogFragmentNavigator.Destination

public final java.lang.String getClassName()

Gets the DialogFragment's class name associated with this destination