Published inadidoescodeThe ViewModel’s leaked Flow collectors problemI love Kotlin Flow, specially when used to chain the data from your data layer (or use cases if you got them) to your Ui. When done right…Dec 15, 202314Dec 15, 202314
Published inadidoescodeAndroid Quick Recipes: Execute your UseCases automatically when the users logs in/out with FlowDoes you app have a login? Then I bet that you have a conditional logic that has to be executed when the users logs in or maybe when the…Oct 2, 2022Oct 2, 2022
Published inandroidxxAndroid quick recipes: observe when your user has logged in from the deep down of the…A pretty common requirement in almost any app is to have some screen which need to change if the user found that your features (well… the…Jul 13, 2022Jul 13, 2022
Published inadidoescodeAndroid arch exploration: Compose navigation but ViewModel dictates where to goRecently we had to go back to one of the oldest (and darkest) parts of our codebase, the login, and make Single Sign On happen. Our login…May 27, 2022May 27, 2022
Published inadidoescodeAndroid arch exploration: MVVM + flow + UseCases with a UI gate (combine use case’s output to…Looking for an architecture which can work fine for simple to medium features based in MVVM, Clean architecture and unidirectional flow of…Jul 11, 20216Jul 11, 20216
Published inandroidxxAdd a custom badge to your bottom tabs, because sometimes you need a square instead of a circleBottom Navigation Bar is probably one of the most common navigation patterns around and the view at Material components is an incredible…Mar 23, 20211Mar 23, 20211
Published inandroidxxSay hi to the bounce effect in RecyclerView without headachesPixel launcher added sometime ago this very nice effect to the app drawer which replaces our beloved android over scroll effect with the…Feb 14, 20212Feb 14, 20212
Published inandroidxxAn approach to a multi module app with Navigation Component and fragment Result APII usually work in a very big app which has been some years around. We have refactored some of the features several times and we have done…Nov 19, 2020Nov 19, 2020
Published inandroidxxPropagate data and state using MediatorLiveDataLiveData is a great way to send your data updates to the UI, but as commented in the Guide to app architecture in the final lines, dealing…Jul 15, 2018Jul 15, 2018
Published inandroidxxMy very own Droidcon Italy 18 recapHolded in my beloved city Turin, Droidcon Italy just finished last Friday and, since I’m preparing some quick notes to present to my…Apr 23, 2018Apr 23, 2018