Gabor Varadi
1 min readMay 31, 2019

--

Why is MVIJetpackComposeViewModel nullable instead of lateinit? Why is the “ViewState” class written in such a way, that if I have loaded data, start another fetch and during that fetch I rotate the screen then the loaded data is overwritten by a loading indicator, and if I get an error then the loaded list becomes discarded? Also, I would think you don’t need to call setContent { for each change, thanks to the @Model annotation.

--

--

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)