Going with the Flow - Using Coroutines 1.3.x
summary
Shows concrete migration patterns: Retrofit 2.6.0 uses suspend service methods, Flow is Flow stable in Kotlin 1.3.0, and channels change semantics. Compares channel types (rendezvous, unlimited, array, conflated), demonstrates broadcast channel deadlock and why conflated broadcast channel behaves like LiveData for multi-subscriber state. Presents a working alternative: a broadcast-style Flow that uses sendBlocking/awaitClose to start on first subscriber and stop on last, and notes Lifecycle 2.2 RC2 scope helpers (launchWhenResumed) for lifecycle-aware coroutines.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:07Coroutines and suspend functions
- 9:04Channels and back pressure
- 16:33Broadcast channels explained
- 23:43Structured concurrency limits
- 28:17Flows vs callbacks
- 37:50Flows in Android practice
- 42:01Lifecycle scope and LiveData








