Enum FragmentLifecycleState

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ATTACHED

      Fired when onFragmentAttached is called.

      CREATED

      Fired when onFragmentCreated is called.

      VIEW_CREATED

      Fired when onFragmentViewCreated is called.

      STARTED

      Fired when onFragmentStarted is called.

      RESUMED

      Fired when onFragmentResumed is called.

      PAUSED

      Fired when onFragmentPaused is called.

      STOPPED

      Fired when onFragmentStopped is called.

      SAVE_INSTANCE_STATE

      Fired when onFragmentSaveInstanceState is called.

      VIEW_DESTROYED

      Fired when onFragmentViewDestroyed is called.

      DESTROYED

      Fired when onFragmentDestroyed is called.

      DETACHED

      Fired when onFragmentDetached is called.

    • Constructor Detail

    • Method Detail

      • valueOf

         final FragmentLifecycleState valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

      • values

         final Array<FragmentLifecycleState> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.