Is it okay to use mutable states in the View Model...
# compose
a
Is it okay to use mutable states in the View Model rather than exposing other observable types like stateflows or livedata?
🚫 1
👌 4
Another question is for one time events, do we have to wrap the state with an event wrapper class? or is there another solution that I'm not aware of?
r
check this and use safer way to collect these onetime events.
🙌 1