Master Coroutines and Flows

Structured concurrency, cancellation, Flow, and Android async patterns.

20 chapters · first 2 free to read

Start reading

Chapters

  1. Chapter 1 — The Concurrency Problem on Android · Free
  2. Chapter 2 — Your First Coroutine · Free
  3. Chapter 3 — Coroutine Builders
  4. Chapter 4 — CoroutineScope and CoroutineContext
  5. Chapter 5 — Structured Concurrency
  6. Chapter 6 — Dispatchers and Threading
  7. Chapter 7 — Cancellation
  8. Chapter 8 — Exception Handling
  9. Chapter 9 — Introducing Flow
  10. Chapter 10 — Flow Operators
  11. Chapter 11 — Flow Context and Buffering
  12. Chapter 12 — Hot Flows: StateFlow and SharedFlow
  13. Chapter 13 — Channels
  14. Chapter 14 — Coroutines in ViewModel
  15. Chapter 15 — Lifecycle-Aware Collection
  16. Chapter 16 — Coroutines with Jetpack Compose
  17. Chapter 17 — Data Layer Integration
  18. Chapter 18 — Testing Coroutines and Flows
  19. Chapter 19 — Debugging and Performance
  20. Chapter 20 — Real-World Patterns