FragmentNavigator.Extras
public
static
final
class
FragmentNavigator.Extras
extends Object
implements
Navigator.Extras
java.lang.Object | |
↳ | androidx.navigation.fragment.FragmentNavigator.Extras |
Extras that can be passed to FragmentNavigator to enable Fragment specific behavior
Summary
Nested classes | |
---|---|
class |
FragmentNavigator.Extras.Builder
Builder for constructing new |
Public methods | |
---|---|
Map<View, String>
|
getSharedElements()
Gets the map of shared elements associated with these Extras. |
Inherited methods | |
---|---|
Public methods
getSharedElements
public Map<View, String> getSharedElements ()
Gets the map of shared elements associated with these Extras. The returned map
is an unmodifiable
copy of the underlying
map and should be treated as immutable.
Returns | |
---|---|
Map<View, String> |
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.