ylliX - Online Advertising Network

Graduating from View IDs

I found an old screen in Cash App today that wasn’t retaining its scroll position across configuration changes. A peek into git history revealed that the author forgot to assign an ID to its scrollable layout for enabling state restoration. And would you even blame them? Sure, View IDs are necessary, but maintaining them manually […]

My Programming Earworms

There are tons of articles online that discuss the articles/talks/books that you must consume to become a true programmer. I dislike this framing; it’s gatekeeping, plus software development is such a varied discipline that one person’s essential reading is entirely unnecessary for another. Instead, I’d like to present to you my programming earworms. An earworm […]

All About Opt-In Annotations

The opt-in mechanism in Kotlin allows you to mark APIs that should be used carefully – or perhaps not at all. If you mark a declaration (a class, a function, a property, anything really) as opt-in required, using it will produce a warning or error in the code, prompting the user to explicitly opt in […]

A Bit of Gradle Housekeeping

While cleaning is traditionally a spring activity, let me invite you to do it at the end of summer this time around. Note: Yes, I’m still using Groovy because I never found a compelling reason to upgrade to Kotlin DSL 🤷‍ Something I’m quite enthusiastic about is having the simplest and most default Gradle configuration […]

Optimizing Your Kotlin Build

23 Jul 2021 • 7 min read Kotlin build times are often slow, this is a laundry list of common issues and what you can or can’t do about them. An actual white whale Kotlin, strictly speaking, is awesome. Kotlin build times, strictly speaking, are not awesome. While many developers have weighed these and […]