Gabor Varadi
1 min readFeb 1, 2019

--

I’ve edited this post because it was partly incorrect, and the tone was off.

The AAC view model that is injected directly from the Dagger component will not receive an onCleared callback, and it would be recreated across config changes.

Check the comments in the gists.

--

--

Gabor Varadi
Gabor Varadi

Written by Gabor Varadi

Android dev. Zhuinden, or EpicPandaForce @ SO. Extension function fan #Kotlin, dislikes multiple Activities/Fragment backstack.

Responses (1)