Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

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