title: Android StateFlow or MutableStateFlow in data binding
body: <p>I'm trying out StateFlow in DataBindings and in all examples I can find, most look like a copy of <a href="https://developer.android.com/topic/libraries/data-binding/observability#stateflow" rel="nofollow noreferrer">this one</a>, two variables are used in the ViewModel for one data binding. One private MutableStateFlow and a public StateFlow. And the StateFlow is pretty much just reading the value from the MutableStateFlow. Why is this? Wouldn't it be easier to just have one variable, a MutableStateFlow and skip the StateFlow variable all together?</p>