Category "kotlin-sharedflow"

Android LiveData advantage than other observable libraries

In 2022, What scenario can imagine LiveData is better than other observable libraries such as StateFlow, SharedFlow, Coroutine Channel and etc.

how to avoid repeatOnLifecycle excute again and again when fragment resume

how can I avoid the collect{} code execute again when navigate back to the fragment. ViewModel class private val _commitResult = MutableStateFlow<Map&l