Official Description: Android Lifecycle-Common for Java 8 Language
This artifact provides the
DefaultLifecycleObserver interface. If you need
to observe lifecycle events from a
Lifecycle, and you are compiling with
Java 8, Google recommends that you add this artifact and use this interface.
One benefit is that it takes advantage of Java 8’s support for default implementations
on interface methods, so you only need to override methods corresponding with
the lifecycle events that you care about.
- Latest Stable: 2.2.0
- Latest Release Candidate: 2.2.0-rc03
- Latest Beta: 2.2.0-beta01
- Latest Alpha: 2.3.0-alpha03