Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

LifecycleObserver

interface LifecycleObserver
androidx.lifecycle.LifecycleObserver

Marks a class as a LifecycleObserver. It does not have any methods, instead, relies on OnLifecycleEvent annotated methods.

Summary