I saw from here that the View is holding a piece of UI changes where it doesn't know when the next state occurs isVisible = true. It might sound a bit nitpicking, but when refresh() shouldn't the ViewModel emit the loading state (similar) and let the View know as an observer as well? At least for the consistency in your idea of how we handle the loading state.
I saw from here that the View is holding a piece of UI changes where it doesn't know when the next state occurs
isVisible = true
. It might sound a bit nitpicking, but whenrefresh()
shouldn't the ViewModel emit the loading state (similar) and let the View know as an observer as well? At least for the consistency in your idea of how we handle the loading state.