LiveData vs SharedFlow and StateFlow in MVVM and MVI Architecture
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?