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

LifecycleObserver

public interface LifecycleObserver

android.arch.lifecycle.LifecycleObserver


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