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

FragmentManagerNonConfig

public class FragmentManagerNonConfig
extends Object

java.lang.Object
   ↳ androidx.fragment.app.FragmentManagerNonConfig


This class is deprecated.
Have your FragmentHostCallback implement ViewModelStoreOwner to automatically retain the Fragment's non configuration state.

FragmentManagerNonConfig stores the retained instance fragments across activity recreation events.

Apps should treat objects of this type as opaque, returned by and passed to the state save and restore process for fragments in FragmentController.retainNestedNonConfig() and FragmentController.restoreAllState(Parcelable, FragmentManagerNonConfig).

Summary

Inherited methods