ActivityNavigator.Extras

public static final class ActivityNavigator.Extras
extends Object implements Navigator.Extras

java.lang.Object
   ↳ androidx.navigation.ActivityNavigator.Extras


Extras that can be passed to ActivityNavigator to customize what ActivityOptionsCompat and flags are passed through to the call to ContextCompat.startActivity(Context, Intent, Bundle).

Summary

Nested classes

class ActivityNavigator.Extras.Builder

Builder for constructing new ActivityNavigator.Extras instances. 

Public methods

ActivityOptionsCompat getActivityOptions()

Gets the ActivityOptionsCompat that should be used with ContextCompat.startActivity(Context, Intent, Bundle).

int getFlags()

Gets the Intent.FLAG_ACTIVITY_ flags that should be added to the Intent.

Inherited methods

Public methods

getActivityOptions

public ActivityOptionsCompat getActivityOptions ()

Gets the ActivityOptionsCompat that should be used with ContextCompat.startActivity(Context, Intent, Bundle).

Returns
ActivityOptionsCompat

getFlags

public int getFlags ()

Gets the Intent.FLAG_ACTIVITY_ flags that should be added to the Intent.

Returns
int