Google 致力于为黑人社区推动种族平等。查看具体举措

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