ComposableFragmentNavigator

@<Error class: unknown class>
class ComposableFragmentNavigator : Navigator


This Navigator intercepts the inflation of navigation destinations in a Navigation with Fragment XML file, reusing the android:name field as the fully qualified name of the composable function to use as the contents of the inflated destination.

Internally, this uses a ComposableFragment to implement the reflection call.

Summary

Public constructors

Construct a ComposableFragmentNavigator by retrieving the associated FragmentNavigator from provider.

Inherited functions

From androidx.navigation.Navigator
open Unit
navigate(
    entries: List<NavBackStackEntry>,
    navOptions: NavOptions?,
    navigatorExtras: Navigator.Extras?
)
open NavDestination?
navigate(
    destination: FragmentNavigator.Destination,
    args: SavedState?,
    navOptions: NavOptions?,
    navigatorExtras: Navigator.Extras?
)
open Unit
open Unit
open Unit
open SavedState?
open Boolean
open Unit
popBackStack(popUpTo: NavBackStackEntry, savedState: Boolean)

Public constructors

ComposableFragmentNavigator

Added in 2.8.0
ComposableFragmentNavigator(fragmentNavigator: FragmentNavigator)

ComposableFragmentNavigator

Added in 2.8.0
ComposableFragmentNavigator(provider: NavigatorProvider)

Construct a ComposableFragmentNavigator by retrieving the associated FragmentNavigator from provider.

Public functions

createDestination

Added in 2.8.0
open fun createDestination(): FragmentNavigator.Destination