This repository has been archived by the owner on Aug 16, 2023. It is now read-only.
Lifecycle Observer is not removed in step_4 #5
Comments
Yes, that's the whole point of the new lifecycle-aware components, no need to unsubscribe/remove observers. |
Cool! Thanks :D |
Can you please update the docs about it? https://developer.android.com/reference/android/arch/lifecycle/Lifecycle.Event#ON_DESTROY ? |
In the event that onDestroy which is not guaranteed to be called, is not called, does the observer ever get removed? |
4 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Here, there is
addObserver()
call, but there is noremoveObserver()
call for onDestroy. Is this intentional?The text was updated successfully, but these errors were encountered: