Thank you for creating this sample and linking to resources to get started! Coroutines have been on my list to learn and this helped me start researching the fundamental topics.
I created a notes doc with coroutine resources and concepts after reading this. I’ve found coroutines integrate nicely into all of the architecture components.
Here’s the best resources I’ve found so far.
- Understand Kotlin Coroutines on Android (Google I/O’19) — Dense but a good overview.
- StackOverflow — Kotlin: withContext() vs Async-await
- Android documentation — Use coroutines with LiveData
- Android Networking with Coroutines and Retrofit by Joe Birch
- Room 🔗 Coroutines by Florina Muntenescu