This quick blog post helps you solve the error “Type state has no method getValue” when first starting to observe state on your ViewModel.
When is a Type not a Type? Kotlin in the IDE
This article explains the ‘show type hints’ feature of IntelliJ. To get to see those sweet variable types you desire but not change any of the code conventions in your place of work.
java.lang.SecurityException with SubscriptionManager – But I declared the permissions!..
Oh my! This is one of those times with Android where you just slap your forehead, like what! This is the official documentation for using SubscriptionManager.addOnSubscriptionChangedListener Register for changes to the list of active SubscriptionInfo records or…
Hiding Text in Kotlin – How many ways?
At some point you may want to show that you know a text value, but not show the value itself. For example, when you have sensitive data stored like a password, you may want to…
Tame Your Gradle Dependencies just BECAUSE!
Did you know you can specify a reason for using a certain dependency or certain version of a dependency? Yep it’s in the API here and referenced in the DOCS here. void because?(@Nullable String reason)…
I/O 2019 Android Track Picks & Insights
Google I/O is a wrap. The conference celebrated product and platform innovations at Google. As part of the Google Developer Expert programme a group of us travelled to I/O and enjoyed learning together, here we…
Kotlin Anti-Patterns – Also this is Null
Kotlin is a young language, and with that comes many untrodden paths and unknown gotchas. Let’s explore one of these anti-patterns, for the sake of the article I’ve called it “Also this is null”.