ActivityNavigator

@Navigator.Name(value = "activity") public class ActivityNavigator extends Navigator

Object
   ↳ Navigator
     ↳ ActivityNavigator
Known direct subclasses
DynamicActivityNavigator

Dynamic feature navigator for Activity destinations.


ActivityNavigator implements cross-activity navigation.

Summary

Nested types

ActivityNavigator.Companion
ActivityNavigator.Destination

NavDestination for activity navigation

ActivityNavigator.Extras

Extras that can be passed to ActivityNavigator to customize what ActivityOptionsCompat and flags are passed through to the call to ActivityCompat.startActivity.

ActivityNavigator.Extras.Builder

Builder for constructing new Extras instances.

Public constructors

Public methods

@NonNull ActivityNavigator.Destination

Construct a new NavDestination associated with this Navigator.

NavDestination
navigate(
    ActivityNavigator.Destination destination,
    Bundle args,
    NavOptions navOptions,
    Navigator.Extras navigatorExtras
)

Navigate to a destination.

boolean

Attempt to pop this navigator's back stack, performing the appropriate navigation.

Inherited methods

From class Navigator
void
navigate(
    List<NavBackStackEntry> entries,
    NavOptions navOptions,
    Navigator.Extras navigatorExtras
)

Navigate to a destination.

@