Files
react-native/ReactAndroid/src/main/java/com/facebook/react/common/LifecycleState.java
T
Emily Janzer 2869117127 Remove @CountEnum from OSS classes
Summary: Back out D9614432 and partially revert D9623235 to unbreak OSS.

Reviewed By: hramos

Differential Revision: D9779548

fbshipit-source-id: 931c4987ed5acbae3790c42717662fed77599335
2018-09-11 16:31:46 -07:00

26 lines
642 B
Java

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.common;
/**
* Lifecycle state for an Activity. The state right after pause and right before resume are the
* basically the same so this enum is in terms of the forward lifecycle progression (onResume, etc).
* Eventually, if necessary, it could contain something like:
*
* BEFORE_CREATE,
* CREATED,
* VIEW_CREATED,
* STARTED,
* RESUMED
*/
public enum LifecycleState {
BEFORE_CREATE,
BEFORE_RESUME,
RESUMED,
}