Published inProAndroidDevViewModels using Compose: MutableStateFlows or MutableStates?State hoisting is an important concept useful to make a Composable stateless (and so easily reusable). The official Compose documentation…Sep 30, 20217103Sep 30, 20217103
Published inProAndroidDevDagger dependencies beyond the basicsDagger is one of the most polarizing subjects in the Android community, either you love it, or you hate it. Some developers love it and…Apr 8, 20202442Apr 8, 20202442
Published inProAndroidDevFrom Dagger components to manual dependency injectionDagger is a great framework that has changed the way we have written Android apps in the latest years. Using Dagger we don’t need to write…Oct 2, 20194006Oct 2, 20194006
Published inGoogle Developer ExpertsImplementing Dependency Inversion using Dagger componentsThe SOLID principles were introduced for the first time by Robert C. Martin in the early 2000s. This paper explains the five principles…Jun 12, 20194932Jun 12, 20194932
Published inProAndroidDevManaging exceptions in nested coroutine scopesCoroutine scopes are the latest concept introduced to the Kotlin coroutines library before the 1.0 release. Scopes are really useful to…Apr 1, 20196622Apr 1, 20196622
Published inProAndroidDevSimpler Kotlin class hierarchies using class delegationBig class hierarchies are out of fashion, an item of the book Effective Java written by Joshua Bloch suggests to favor composition over…Feb 27, 20191.1K7Feb 27, 20191.1K7
Published inProAndroidDevUnidirectional Data Flow using CoroutinesOver the years the typical architecture of an Android application has changed a lot, from the first apps where all the logic was in the…Oct 1, 201862810Oct 1, 201862810
Published inProAndroidDevAsync code using Kotlin CoroutinesKotlin coroutines allow to write asynchronous code in a familiar way, the structure of the code doesn’t change if you compare it with…May 23, 20188666May 23, 20188666
Published inProAndroidDevCustom attributes using BindingAdapters in KotlinUsing the Android data binding framework it’s easy to define a custom attribute that can be used in a layout files. It’s just a static…Jan 29, 20189868Jan 29, 20189868
Published inProAndroidDevKotlin delegates in Android development — Part 2Architecture components: ViewModel and LiveDataJul 11, 20173791Jul 11, 20173791
Published inHackerNoon.comKotlin delegates in Android development — Part 1Lazy and map standard delegates and SharedPreferences custom delegateJun 26, 20176Jun 26, 20176
Testing asynchronous RxJava code using MockitoRxJava is used in many Android applications to manage background tasks, in this post will see how to test this code using Mockito and some…Nov 22, 201611Nov 22, 201611
Two-way Android data bindingHow to use two-way Data Binding to manage a layoutJul 22, 201525Jul 22, 201525