LiveData vs SharedFlow and StateFlow in MVVM and MVI Architecture
Published in
6 min readJul 14, 2021
Last year kotlinx.coroutines library introduced two new Flow types, SharedFlow and StateFlow, which also have their mutable types — MutableSharedFlow and MutableStateFlow.
Android community started wondering… Which one should I use now? LiveData or the new types? Is LiveData deprecated now?