Danny PreusslerinProAndroidDevInterpreting voice results for Android media apps in carsWhen it comes to implementing voice actions for Android in cars, things you read in the documentation might differ a bit from reality.Jan 10, 2022Jan 10, 2022
Danny PreusslerinGoogle Developer ExpertsUsing the Kotlin standard library in JavaDo you have a mixed Java/Kotlin code base? Then you should start using more Kotlin functions in your Java code! Yes you can!Jun 14, 20214Jun 14, 20214
Danny PreusslerinProAndroidDevThe modifier that shouldn't be thereMost Kotlin developers would agree that a val property is equivalent to a final property in Java. What if I tell you that this “depends”?May 31, 20211May 31, 20211
Danny PreusslerinGoogle Developer ExpertsAvoid backing properties for LiveData and StateFlowSeparating the public API and implementation detail of android ViewModels. Looking at you underscore prefix!Jan 12, 202120Jan 12, 202120
Danny PreusslerinProAndroidDevWhen “Compat” libraries won’t save youUsing AndroidX artefacts might give the feeling of false security when it comes to newer API calls. Let’s talk about this!Jan 4, 2021Jan 4, 2021
Danny PreusslerinGoogle Developer ExpertsWhen LiveData and Kotlin don’t play well togetherSometimes the combination of Kotlin and LiveData might lead to hidden issues. Let’s explore why and what can happen!Dec 15, 20203Dec 15, 20203
Danny PreusslerinThe StartupSwift’s Guard Statement for KotlinSwifts guard statement is something we miss in Kotlin. What does it do and how can we achieve something similar?Dec 7, 20201Dec 7, 20201
Danny PreusslerinGoogle Developer ExpertsThe hidden pitfalls of the Elvis operatorI guess many of us love the Elvis operator in Kotlin. But it can lead to some hidden pitfalls if you are not aware of how it works.Jul 28, 202013Jul 28, 202013
Danny PreusslerinProAndroidDevKeep your interfaces simpleAvoiding implicit connections and learn how extension functions can help you writing good APIsJul 16, 20201Jul 16, 20201
Danny PreusslerinProAndroidDevThe forgotten art of constructionHow tools made us forget how to write sane constructorsJun 22, 20206Jun 22, 20206