Book (P)review: Living by the Code
I can't tell you how much I've been anticipating this book ever since I first heard it announced. This is a very short review, because really, you should read it yourself. But let me spoil one thing: It's amazing.
Publishing an Android library to MavenCentral in 2019 ➟
MavenCental is the place to be for serious libraries, but setting up publication to it can be a truly daunting task. Here's the guide to how we do it.
Primaries Matter (a discussion of constructors)
Primary constructors play a fundamental role in Kotlin classes. Let's take a close look at them, and really understand what exactly is part of a primary constructor, and what makes this constructor so special.
The Dog Riddle
A fun little challenge in Kotlin API design. Give it a try!
Delightful Delegate Design ➟
When developing a library, designing an easy to use API while hiding unnecessary implementation details from clients is fundamental. Let's look at some API design choices we've made for our library Krate, an Android SharedPreferences wrapper.
Maintaining Compatibility in Kotlin Libraries
Not breaking client code is an essential duty of a library developer. Let's take a look at a couple rarely discussed issues you might face in this area.
A Deep Dive into Extensible State Saving
A perhaps overly thorough look at how extensible state saving is implemented in the AndroidX libraries, and how ViewModel state saving specifically is hooked into this system.
An Early Look at ViewModel SavedState
A quick preview of the new SavedState support for Android Architecture Component ViewModels.