Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

LifecycleObserver

public interface LifecycleObserver

androidx.lifecycle.LifecycleObserver


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