Patryk Kosieradzki
  • Home
  • About me
  • Medium
  • Podcast
Android Dev Newsletter
Tagged

Android Architecture

A collection of 1 post

LiveData vs SharedFlow and StateFlow in MVVM and MVI Architecture
Android

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?

  • Patryk Kosieradzki
Patryk Kosieradzki Jul 14, 2021 • 5 min read
Patryk Kosieradzki © 2023
  • GitHub
  • LinkedIn
  • About me
  • Medium
  • Podcast
  • Data & privacy
Powered by Ghost