The Mayans Lost Guide To RxJava on Android
summary
Explains how RxJava turns asynchronous Android work into composable streams used at SoundCloud: repositories expose Observables, use cases build pipelines, presenters subscribe and must unsubscribe to avoid leaks. Covers practical operators like map/flatMap/concatMap, threading with Schedulers.io()/AndroidSchedulers.mainThread(), and observable creation semantics create/onNext/onComplete/onError. Notes early Android GC/anonymous-class overhead (now improved), a ~3-month team ramp-up, a small Frodo debugging tool, and concrete repo examples that demonstrate the pattern working in production.
AI-written summary · about
chapters (20)
- 0:00Introduction to RxJava
- 2:50Why reactive programming
- 6:53Problems with Java Futures
- 8:20Callback hell and complexity
- 9:23RxJava core concepts
- 12:15Observables and observers
- 15:50Subscribers and threads
- 19:05Schedulers for multithreading
- 20:56RxJava operators overview
- 23:52Filtering and side effects
- 25:40Error handling in RxJava
- 27:51Learning curve and challenges
- 29:58Clean architecture with RxJava
- 33:56Domain and repository layers
- 37:14Data transformation between layers
- 41:22Creating observables safely
- 43:34Migrating to RxJava
- 45:23Android-specific tips
- 46:07Synchronous behavior and unsubscribe
- 47:14Resources and Q&A
