androidx.fragment.app

Interfaces

FragmentManager.BackStackEntry

Representation of an entry on the fragment back stack, as created with FragmentTransaction.addToBackStack().

FragmentManager.OnBackStackChangedListener

Interface to watch for changes to the back stack.

FragmentOnAttachListener

Listener for receiving a callback immediately following onAttach.

FragmentResultListener

Listener for handling fragment results.

FragmentResultOwner

A class that manages passing data between fragments.

Classes

DialogFragment

Static library support version of the framework's android.app.DialogFragment.

Fragment

Static library support version of the framework's android.app.Fragment.

Fragment.SavedState

State information that has been retrieved from a fragment instance through FragmentManager.saveFragmentInstanceState.

FragmentActivity

Base class for activities that want to use the support-based Fragments.

FragmentContainer

Callbacks to a Fragment's container.

FragmentContainerView

FragmentContainerView is a customized Layout designed specifically for Fragments.

FragmentController

Provides integration points with a FragmentManager for a fragment host.

FragmentFactory

Interface used to control the instantiation of Fragment instances.

FragmentHostCallback

Integration points with the Fragment host.

FragmentKt
FragmentManager

Static library support version of the framework's android.app.FragmentManager.

FragmentManager.FragmentLifecycleCallbacks

Callback interface for listening to fragment state changes that happen within a given FragmentManager.

FragmentManagerKt
FragmentManagerNonConfig

This class is deprecated.

Have your FragmentHostCallback implement androidx.lifecycle.ViewModelStoreOwner to automatically retain the Fragment's non configuration state.

FragmentPagerAdapter

This class is deprecated.

Switch to androidx.viewpager2.widget.ViewPager2 and use androidx.viewpager2.adapter.FragmentStateAdapter instead.

FragmentStatePagerAdapter

This class is deprecated.

Switch to androidx.viewpager2.widget.ViewPager2 and use androidx.viewpager2.adapter.FragmentStateAdapter instead.

FragmentTabHost

This class is deprecated.

Use TabLayout and ViewPager instead.

FragmentTransaction

Static library support version of the framework's android.app.FragmentTransaction.

FragmentTransactionKt
FragmentViewModelLazyKt
ListFragment

Static library support version of the framework's android.app.ListFragment.

ViewKt

Exceptions

Fragment.InstantiationException

Thrown by instantiate when there is an instantiation failure.