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 |
Public methods | |
|---|---|
ActivityOptionsCompat
|
getActivityOptions()
Gets the |
int
|
getFlags()
Gets the |
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 |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-12-27 UTC.