Google 致力于为黑人社区推动种族平等。查看具体举措

Destination

class Destination : NavDestination, FloatingWindow
kotlin.Any
   ↳ androidx.navigation.NavDestination
   ↳ androidx.navigation.fragment.DialogFragmentNavigator.Destination

NavDestination specific to DialogFragmentNavigator.

Summary

Public constructors
<init>(@NonNull navigatorProvider: NavigatorProvider)

Construct a new fragment destination.

<init>(@NonNull fragmentNavigator: Navigator<out DialogFragmentNavigator.Destination!>)

Construct a new fragment destination.

Public methods
String

Gets the DialogFragment's class name associated with this destination

open Unit
onInflate(@NonNull context: Context, @NonNull attrs: AttributeSet)

DialogFragmentNavigator.Destination
setClassName(@NonNull className: String)

Set the DialogFragment class name associated with this destination

Inherited functions

Public constructors

<init>

Destination(@NonNull navigatorProvider: NavigatorProvider)

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

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

<init>

Destination(@NonNull fragmentNavigator: Navigator<out DialogFragmentNavigator.Destination!>)

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

Parameters
fragmentNavigator Navigator<out DialogFragmentNavigator.Destination!>: The DialogFragmentNavigator which this destination will be associated with. Generally retrieved via a