Kotlin Flow Articles
Why Does a Room Flow Update Automatically?
Explains how Room, InvalidationTracker, SQLite table invalidation, and Kotlin Flow work together to rerun queries automatically.
Read Post
Testing Kotlin Coroutines: TestDispatcher, Virtual Time, and Turbine
A practical guide to coroutine unit testing with runTest virtual time, TestDispatcher injection, Dispatchers.Main replacement, Turbine Flow assertions, and common Android testing traps.
Read Post
Kotlin Flow Engineering: Cold Flows, Channels, StateFlow, and SharedFlow
A practical guide to Kotlin Flow's cold and hot stream models, Channel primitives, SharedFlow and StateFlow tradeoffs, and Android MVVM layer choices.
Read Post