Class FragmentEP


  • public final class FragmentEP
    extends Object
    Hardcoded EntryPoint-specifications for an Android-Activity. The specifications are read and handled by AndroidEntryPointLocator. https://developer.android.com/reference/android/app/Fragment.html
    See Also:
    AndroidEntryPointLocator
    • Field Detail

      • onCreate

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onCreate
        called to do initial creation of the fragment. Called before before onCreateView. Note that this can be called while the fragment's activity is still in the process of being created. once the activity itself is created: onActivityCreated(Bundle).
      • onCreateView

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onCreateView
        creates and returns the view hierarchy associated with the fragment. This will be called between onCreate(Bundle) and onActivityCreated(Bundle). XXX: CONTRADICTING DOCUMENTATION! his is optional, and non-graphical fragments can return null.
      • onActivityCreated

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onActivityCreated
        tells the fragment that its activity has completed its own Activity.onCreate(). Called when the fragment's activity has been created and this fragment's view hierarchy instantiated. This is called after onCreateView XXX: CONTRADICTING DOCUMENTATION! and before onViewStateRestored(Bundle).
      • onViewStateRestored

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onViewStateRestored
        tells the fragment that all of the saved state of its view hierarchy has been restored. Called when all saved state has been restored into the view hierarchy of the fragment. This is called after onActivityCreated(Bundle) and before onStart().
      • onStart

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onStart
        makes the fragment visible to the user (based on its containing activity being started). Called when the Fragment is visible to the user. This is generally tied to Activity.onStart of the containing Activity's lifecycle.
      • onResume

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onResume
        makes the fragment interacting with the user (based on its containing activity being resumed). Called when the fragment is visible to the user and actively running. This is generally tied to Activity.onResume of the containing Activity's lifecycle.
      • onPause

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onPause
        fragment is no longer interacting with the user either because its activity is being paused or a fragment operation is modifying it in the activity. Called when the Fragment is no longer resumed. This is generally tied to Activity.onPause of the containing Activity's lifecycle.
      • onStop

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onStop
        fragment is no longer visible to the user either because its activity is being stopped or a fragment operation is modifying it in the activity. Called when the Fragment is no longer started. This is generally tied to Activity.onStop of the containing Activity's lifecycle.
      • onDestroyView

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onDestroyView
        allows the fragment to clean up resources associated with its View. Called when the view previously created by onCreateView(LayoutInflater, ViewGroup, Bundle) has been detached from the fragment. This is called after onStop() and before onDestroy(). It is called regardless of whether onCreateView returned a non-null view. Internally it is called after the view's state has been saved but before it has been removed from its parent.
      • onDetach

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onDetach
        called immediately prior to the fragment no longer being associated with its activity. Called when the fragment is no longer attached to its activity. This is called after onDestroy().
      • onCreateContextMenu

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onCreateContextMenu
        Called when a context menu for the view is about to be shown. Unlike onCreateOptionsMenu, this will be called every time the context menu is about to be shown
      • onDestroyOptionsMenu

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onDestroyOptionsMenu
        Called when this fragment's option menu items are no longer being included in the overall options menu. Receiving this call means that the menu needed to be rebuilt, but this fragment's items were not included in the newly built menu (its onCreateOptionsMenu was not called).
      • onInflate

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onInflate
        Called when a fragment is being created as part of a view layout inflation, typically from setting the content view of an activity. This may be called immediately after the fragment is created from a tag in a layout file. Note this is before the fragment's onAttach(Activity) has been called...
      • onSaveInstanceState

        public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onSaveInstanceState
        Called to ask the fragment to save its current dynamic state. Bundle here will be available in the Bundle given to onCreate(Bundle), onCreateView(LayoutInflater, ViewGroup, Bundle), and onActivityCreated(Bundle). This method may be called at any time before onDestroy(). There are many situations where a fragment may be mostly torn down, but its state will not be saved until its owning activity actually needs to save its state.
    • Constructor Detail

      • FragmentEP

        public FragmentEP()