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_ANYAn  | 
| Lifecycle.Event | ON_CREATEConstant for onCreate event of the  | 
| Lifecycle.Event | ON_DESTROYConstant for onDestroy event of the  | 
| Lifecycle.Event | ON_PAUSEConstant for onPause event of the  | 
| Lifecycle.Event | ON_RESUMEConstant for onResume event of the  | 
| Lifecycle.Event | ON_STARTConstant for onStart event of the  | 
| Lifecycle.Event | ON_STOPConstant 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 2025-02-10 UTC.
