Wait… Where Are LifecycleProvider and LifecycleReceiver?
A ContentProvider
has no real “lifecycle”. It is called with onCreate()
when the process starts up… and that’s about it. Similarly, a BroadcastReceiver
is called with onReceive()
… and that’s about it.
As a result, the Architecture Components do not have lifecycle-aware editions of those components.
Prev Table of Contents Next
This book is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.