Open periva101 opened 2 years ago
Hi!
Thank you so much!!
Event are UI action to ViewModel. UI -> ViewModel Effect are single shot event from ViewModel to UI (don't have state) like show toast, show snack bar, show dialog or navigation action.
MVI pattern is based in this great article: https://proandroiddev.com/mvi-architecture-with-kotlin-flows-and-channels-d36820b2028d
Thank you so much! Thank you so much!! Thank you so much!!!
Hello again, I almost study each GitHub KMM sample your's is the best. I have a question if you plz.
what is the clear difference between effects and events? and why events are MutableSharedFlow where _effect is Channel