FragmentNavigator

open class FragmentNavigator
kotlin.Any
   ↳ androidx.navigation.fragment.FragmentNavigator

Navigator that navigates through FragmentTransaction. Every destination using this Navigator must set a valid Fragment class name with android:name or Destination#setFragmentClass.

Summary

Nested classes
open

NavDestination specific to FragmentNavigator

Public constructors
<init>(context: Context, manager: FragmentManager, containerId: Int)

Public methods
open Unit
navigate(destination: FragmentNavigator.Destination, args: Bundle?, navOptions: NavOptions?)

open FragmentNavigator.Destination

open Boolean

Public constructors

<init>

FragmentNavigator(context: Context, manager: FragmentManager, containerId: Int)

Public methods

navigate

open fun navigate(destination: FragmentNavigator.Destination, args: Bundle?, navOptions: NavOptions?): Unit

createDestination

open fun createDestination(): FragmentNavigator.Destination

popBackStack

open fun popBackStack(): Boolean