A class that has an Android-like lifecycle.
Returns the current state of the Lifecycle.
Adds a LifecycleObserver that will be notified when the LifecycleOwner changes state.
Removes the given observer from the observers list.