Android 12 Developer Preview is here! Try it out, and give us your feedback!

Destination

open class Destination : NavDestination
kotlin.Any
   ↳ androidx.navigation.NavDestination
   ↳ androidx.navigation.fragment.FragmentNavigator.Destination

NavDestination specific to FragmentNavigator

Summary

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

Construct a new fragment destination.

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

Construct a new fragment destination.

Public methods
String

Gets the Fragment's class name associated with this destination

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

FragmentNavigator.Destination
setClassName(@NonNull className: String)

Set the Fragment class name associated with this destination

open String

Inherited functions