Blog posts
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).…
Optimizing Result Handling in Android Development
In modern day Android projects, it’s typical to see a Repository , UseCase or xyz abstract component exposing a business logic like Where Result looks something like this You’ll have some issues when you want to use this wrapper in your reactive return types, mainly As a simple example, let’s compare two methods from each to…