lightbulb_outline Please take our October 2018 developer survey. Start survey

FragmentNavigator.Extras

public static 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 FragmentNavigator.Extras instances. 

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>