LifecycleObserver
public interface LifecycleObserver
DefaultLifecycleObserver |
Callback interface for listening to |
LifecycleEventObserver |
Class that can receive any lifecycle change and dispatch it to the receiver. |
AmbientLifecycleObserver |
Interface for LifecycleObservers which are used to add ambient mode support to activities on Wearable devices. |
Marks a class as a LifecycleObserver. Don't use this interface directly. Instead implement either DefaultLifecycleObserver or LifecycleEventObserver to be notified about lifecycle events.
| See also | |
|---|---|
Lifecycle |
Lifecycle - for samples and usage patterns. |