The second Android 11 Developer Preview is now available, test it out and share your feedback.

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