Joost KlitsieinProAndroidDevBest way to keep state in a ViewModelCheck how you can best handle States and Events in a ViewModel. Keep track of the truth and minimize side-effects, to minimize bugs.4d ago24d ago2
Joost KlitsieinProAndroidDevComposable-scoped ViewModel: An interesting experimentScope any ViewModel to the composition of the Composable it is in, while surviving configuration changes, by using the power of Lifecycle.Aug 296Aug 296
Joost KlitsieinProAndroidDevAdd powerful analytics modifiers in Jetpack Compose with ModifierLocal!Did you ever hear about CompositionLocal’s smaller brother: the ModifierLocal? Check how to utilize it and make analytics handling a…Aug 234Aug 234
Joost KlitsieinProAndroidDevAndroid Auto and ViewModel: Reuse your code in your car!See how we can leverage ViewModelStoreOwner and Koin to use ViewModels in Android Auto.Aug 19Aug 19
Joost KlitsieLiveData is dead! Long live StateFlow!LiveData has fulfilled it purpose, but still some people seem to be unable to let go.Aug 171Aug 171
Joost KlitsieinProAndroidDevAndroid Process Lifecycle + Coroutines == ❤Kotlin Coroutines and Android Lifecycle are a match made in heaven! I will show why they work so well together and cool stuff you can do.Aug 141Aug 141
Joost KlitsieinProAndroidDevThe best way to load data in ViewModelsSimplicity is key. Sadly, it is also one of the hardest things to achieve in software development. Learn how to easily load data in 2024.Jul 265Jul 265
Joost KlitsieinProAndroidDevStop throwing exceptions!Now that I got your attention, let me specify what this article actually wants to say: STOP THROWING EXCEPTIONS!Jun 2013Jun 2013
Joost KlitsieConcise builder pattern in Kotlin using lambda’s with receiverWith the first stable version coming out in 2011, Kotlin has gradually been growing in terms of language features and adaptation. Kotlin is…Jul 22, 2023Jul 22, 2023
Joost KlitsieCreating an amazingly simple HTML builder in Kotlin.Let’s explore how we can use the Kotlin programming language to build a simple, yet effective, DSL to generate HTML code. In a previous…Jul 22, 20231Jul 22, 20231