What Would Change

Instead of using MutableStateOf() in my ViewModel for holding variable states, I’d use MutableStateFlow().


How This Would Be Beneficial

MutableStateFlow() is more optimised for use in the ViewModel and so the transition would increase optimisation and allow for future use of coroutines, which are supported by MutableStateFlow(), but not by MutableStateOf()