Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

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.