A lifecycle tracker that can be used to track the lifecycle of the application.
Returns the current state of the Lifecycle.
Adds a LifecycleObserver that will be notified when the LifecycleOwner changes state.
Sets the current state and notifies the observers.
Removes the given observer from the observers list.