androidx.lifecycle
Annotations
OnLifecycleEvent |
This annotation is deprecated. This annotation required the usage of code generation or reflection, which should be avoided. |
Interfaces
DefaultLifecycleObserver |
Callback interface for listening to |
HasDefaultViewModelProviderFactory |
An interface marking a |
LifecycleEventObserver |
Interface for receiving any |
LifecycleObserver |
Marker interface that indicates a class is a |
LifecycleOwner |
A class that exposes a |
LifecycleRegistryOwner |
This interface is deprecated. Use |
LiveDataScope |
Interface that allows controlling a |
Observer |
A simple callback that can receive from |
ViewModelProvider.Factory |
Implementations of the |
ViewModelStoreOwner |
A scope that owns a |
Classes
AbstractSavedStateViewModelFactory |
This class is deprecated. Use `viewModelFactory` or implement `ViewModelProvider.Factory`, combined with `CreationExtras.createSavedStateHandle()`. |
AndroidViewModel |
|
AndroidViewModelKt |
|
CoroutineLiveDataKt |
|
FlowExtKt |
|
FlowLiveDataConversions |
|
Lifecycle |
Defines an object with a lifecycle state control flow. |
LifecycleCoroutineScope |
|
LifecycleKt |
|
LifecycleOwnerFactory |
|
LifecycleOwnerKt |
|
LifecycleRegistry |
A |
LifecycleService |
A Service that is also a |
LiveData |
LiveData is a data holder class that can be observed within a given lifecycle. |
LiveDataKt |
|
LiveDataReactiveStreams |
|
MediatorLiveData |
|
MutableLiveData |
|
PausingDispatcherKt |
|
ProcessLifecycleInitializer |
Initializes |
ProcessLifecycleOwner |
Class that provides lifecycle for the whole application process. |
RepeatOnLifecycleKt |
|
SavedStateHandle |
A handle to saved state passed to |
SavedStateHandleSupport |
|
SavedStateViewModelFactory |
A |
ServiceLifecycleDispatcher |
Helper class to dispatch lifecycle events for a Service. |
Transformations |
|
ViewModel |
Prepares and manages data for the UI. |
ViewModelKt |
|
ViewModelLazy |
An implementation of |
ViewModelProvider |
A utility class that manages the lifecycle, caching, and instantiation of |
ViewModelProvider.AndroidViewModelFactory |
Factory that creates |
ViewModelProvider.NewInstanceFactory |
Factory that creates |
ViewModelProvider.NewInstanceFactory |
Simple factory, which calls empty constructor on the give class. |
ViewModelProviderGetKt |
|
ViewModelProviders |
This class is deprecated. Use the constructors for |
ViewModelProviders.DefaultFactory |
This class is deprecated. Use ViewModelProvider.AndroidViewModelFactory |
ViewModelStore |
Stores |
ViewModelStoreOwnerDefaults |
|
ViewModelStores |
This class is deprecated. Use |
ViewTreeLifecycleOwner |
|
ViewTreeViewModelStoreOwner |
|
WithLifecycleStateKt |
|
SavedStateHandle.Companion |
|
ViewModelProvider.Companion |
|
ViewModelProvider.NewInstanceFactory.Companion |
Enums
Lifecycle.Event |
Represents a transition event triggered by a change in the |
Lifecycle.State |
Represents the current lifecycle state of a |
Exceptions
LifecycleDestroyedException |
A |