DialogFragmentNavigator.Destination


@<Error class: unknown class>
open class DialogFragmentNavigator.Destination : NavDestination, FloatingWindow


NavDestination specific to DialogFragmentNavigator.

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

Summary

Public constructors

Destination(navigatorProvider: NavigatorProvider)

Construct a new fragment destination.

Public functions

open operator Boolean
equals(other: Any?)
open Int
open Unit
DialogFragmentNavigator.Destination
setClassName(className: String)

Set the DialogFragment class name associated with this destination

Public properties

String

The DialogFragment's class name associated with this destination

Inherited functions

From androidx.navigation.NavDestination
Unit
addArgument(argumentName: String, argument: NavArgument)
Unit
addDeepLink(navDeepLink: NavDeepLink)
Unit
addDeepLink(uriPattern: String)
open Boolean
hasDeepLink(deepLink: NavUri)
open Boolean
hasDeepLink(deepLinkRequest: NavDeepLinkRequest)
Unit
removeArgument(argumentName: String)

Public constructors

Destination

Added in 2.1.0
Destination(
    fragmentNavigator: Navigator<DialogFragmentNavigator.Destination>
)
Parameters
fragmentNavigator: Navigator<DialogFragmentNavigator.Destination>

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

Destination

Added in 2.1.0
Destination(navigatorProvider: NavigatorProvider)

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

Parameters
navigatorProvider: NavigatorProvider

The NavController which this destination will be associated with.

Public functions

equals

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

hashCode

open fun hashCode(): Int

onInflate

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

setClassName

Added in 2.1.0
fun setClassName(className: String): DialogFragmentNavigator.Destination

Set the DialogFragment class name associated with this destination

Parameters
className: String

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

Public properties

className

Added in 2.1.0
val classNameString

The DialogFragment's class name associated with this destination

Throws
kotlin.IllegalStateException

when no DialogFragment class was set.