Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

Extras

class Extras : Navigator.Extras
kotlin.Any
   ↳ androidx.navigation.fragment.FragmentNavigator.Extras

Extras that can be passed to FragmentNavigator to enable Fragment specific behavior

Summary

Nested classes

Builder for constructing new Extras instances.

Public methods

MutableMap<View!, String!>

Gets the map of shared elements associated with these Extras.

Public methods

getSharedElements

@NonNull fun getSharedElements(): MutableMap<View!, String!>

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.