- onCreate
Called to do initial creation of a fragment. This is called after
#onAttach(Activity) and before #on
- onViewCreated
Called immediately after #onCreateView(LayoutInflater,ViewGroup,Bundle)has
returned, but before any
- onDestroy
Called when the fragment is no longer in use. This is called after #onStop() and
before #onDetach().
- onAttach
- onResume
Called when the fragment is visible to the user and actively running. This is
generally tied to Acti
- onActivityCreated
Called when the fragment's activity has been created and this fragment's view
hierarchy instantiated
- onDestroyView
Called when the view previously created by #onCreateView has been detached from
the fragment. The ne
- onPause
Called when the Fragment is no longer resumed. This is generally tied to
Activity#onPause() of the c
- onSaveInstanceState
Called to ask the fragment to save its current dynamic state, so it can later be
reconstructed in a
- getActivity
Return the Activity this fragment is currently associated with.
- onStart
Called when the Fragment is visible to the user. This is generally tied to
Activity#onStart() of the
- setArguments
Supply the construction arguments for this fragment. This can only be called
before the fragment has