Tag: functional-programming
-

Goodbye LiveData, Hello SharedFlow
Recently, I was working on refactoring an old module in our app, and had the chance to see if using SharedFlow as a replacement for LiveData would be practical. The goal of this article is showcasing a few scenarios you can stumble upon, and how coroutines handle them (hopefully without writing extra code for functionality).…