
Clean StateFlow Transformations in Kotlin
Published in ProAndroidDev
As Kotlin’s Flow library has stabilized and matured, Android developers have been encouraged to migrate from LiveData to StateFlow for managing observable view state. StateFlow is an improvement over LiveData, but for all its benefits StateFlow noticeably lacks one important mechanism that LiveData afforded us: Transformations.
January 10, 2022
18.3k
Recommended Posts

Awaiting Multiple Coroutines the Clean Way
Published in ProAndroidDev
Leveraging Kotlin’s structured concurrency mechanisms for extremely readable concurrency.
February 14, 2022
31k

Android CI: Build Caching on Github Actions
Published in DevGenius
Github Actions makes CI incredibly convenient for Android projects hosted in Github. This article will explore a few knobs you can adjust to get your Android CI builds completing significantly faster on Github Actions. Using these tips we decreased our CI build times from ~35 minutes to ~2.5 minutes — about a 15x improvement.
February 19, 2024
205

A few shorthands for Jetpack Compose
Published in DevGenius
I’m a big proponent of clean, readable code. Over the past couple years of using Jetpack Compose, I’ve built up a collection of “shorthands” that I use to make clunky, repeated tasks more readable.
June 13, 2023
2k