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.3 min read·Jan 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!4 min read·Jun 14, 2021--4--4
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”?4 min read·May 31, 2021--1--1
Danny PreusslerinGoogle Developer ExpertsAvoid backing properties for LiveData and StateFlowSeparating the public API and implementation detail of android ViewModels. Looking at you underscore prefix!5 min read·Jan 12, 2021--20--20
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!5 min read·Jan 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!4 min read·Dec 15, 2020--3--3
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?6 min read·Dec 7, 2020--1--1
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.3 min read·Jul 28, 2020--13--13
Danny PreusslerinProAndroidDevKeep your interfaces simpleAvoiding implicit connections and learn how extension functions can help you writing good APIs3 min read·Jul 16, 2020--1--1
Danny PreusslerinProAndroidDevThe forgotten art of constructionHow tools made us forget how to write sane constructors6 min read·Jun 22, 2020--6--6