Lifecycle.Event
public
static
final
enum
Lifecycle.Event
extends Enum<Lifecycle.Event>
java.lang.Object | ||
↳ | java.lang.Enum<android.arch.lifecycle.Lifecycle.Event> | |
↳ | android.arch.lifecycle.Lifecycle.Event |
Summary
Enum values | |
---|---|
Lifecycle.Event |
ON_ANY
An |
Lifecycle.Event |
ON_CREATE
Constant for onCreate event of the |
Lifecycle.Event |
ON_DESTROY
Constant for onDestroy event of the |
Lifecycle.Event |
ON_PAUSE
Constant for onPause event of the |
Lifecycle.Event |
ON_RESUME
Constant for onResume event of the |
Lifecycle.Event |
ON_START
Constant for onStart event of the |
Lifecycle.Event |
ON_STOP
Constant for onStop event of the |
Public methods | |
---|---|
static
Lifecycle.Event
|
valueOf(String name)
|
static
final
Event[]
|
values()
|
Inherited methods | |
---|---|
Enum values
Public methods
Annotations
Interfaces
Classes
- AndroidViewModel
- Lifecycle
- LifecycleRegistry
- LifecycleService
- LiveData
- LiveDataReactiveStreams
- MediatorLiveData
- MutableLiveData
- ProcessLifecycleOwner
- ServiceLifecycleDispatcher
- Transformations
- ViewModel
- ViewModelProvider
- ViewModelProvider.AndroidViewModelFactory
- ViewModelProvider.NewInstanceFactory
- ViewModelProviders
- ViewModelProviders.DefaultFactory
- ViewModelStore
- ViewModelStores
Enums
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.