No Need for a Violinist: Ditching RxJava in Favor of Kotlin Coroutines
summary
Compares using RxJava 2 versus Kotlin coroutines for background/concurrency work in Kotlin projects, evaluating pros and cons of each technology and when coroutines are preferable or when Rx is necessary. Covers testing strategies for code written with both approaches and how they can interoperate or coexist.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 2:06RxJava problems on Android
- 6:19Switching to Kotlin Coroutines
- 10:12Working with suspend functions
- 14:26Cancellation and error handling
- 18:41Simplifying interfaces
- 22:13Intermediate summary
- 24:44Handling event streams
- 26:29Channels and Broadcast
- 30:27RxJava compatibility
- 32:54Resources
related talks
42mI Swapped RxJava for Coroutines. Why You Should Too
26mCoroutines and Rx: A Battle Towards Asynchronicity
42mKotlin Coroutines: An Intro to Practical Use on Android
28mConcurrency for Imposters
29mTrip into the async world
32mNetworking the Kotlin way: Retrofit + Coroutines
20mLean Async Code with Kotlin's Coroutines
38mCoroutines by Example
