Enum FragmentLifecycleState
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum FragmentLifecycleState extends Enum<FragmentLifecycleState>
Lifecycle state of Fragment
-
-
Field Summary
Fields Modifier and Type Field Description private final EnumEntries<FragmentLifecycleState>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACHEDFired when
onFragmentAttachedis called.CREATEDFired when
onFragmentCreatedis called.VIEW_CREATEDFired when
onFragmentViewCreatedis called.STARTEDFired when
onFragmentStartedis called.RESUMEDFired when
onFragmentResumedis called.PAUSEDFired when
onFragmentPausedis called.STOPPEDFired when
onFragmentStoppedis called.SAVE_INSTANCE_STATEFired when
onFragmentSaveInstanceStateis called.VIEW_DESTROYEDFired when
onFragmentViewDestroyedis called.DESTROYEDFired when
onFragmentDestroyedis called.DETACHEDFired when
onFragmentDetachedis called.
-
Method Summary
Modifier and Type Method Description final FragmentLifecycleStatevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<FragmentLifecycleState>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<FragmentLifecycleState>getEntries()Lifecycle state of Fragment -
-
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.
-
getEntries
final EnumEntries<FragmentLifecycleState> getEntries()
Lifecycle state of Fragment
-
-
-
-