Avoid race conditions in StateFlowNowadays, when everyone is trying out the great Jetpack Compose, it is most likely that you will use the MVI architectural pattern and expose one single state object from the ViewModel to an Activity. The beauty of this is there is a single source of...Jun 27, 2022 · 3 min readtanuj-08.hashnode.dev