RX Java with Kotlin in Baby Steps
summary
Covers the concrete bits needed to start using RxJava with Kotlin: the actual APIs for Observable, Observer, Operator, working examples of map(), flatMap(), filter() and how Kotlin lambdas shrink subscribe calls into a single-line consumer. Demonstrates hot versus cold observables, create/just/interval factories, schedulers for choosing threads, and a flatMap pattern that fetches posts per user asynchronously. Argues RxJava is a tool not a silver bullet and shows the subscribe lifecycle and disposables.
AI-written summary · about
chapters (14)
- 0:00Start
- 3:40server response
- 4:15Which of the following is an asynchronous data stream?
- 6:37Data Transformation
- 7:11chaining
- 8:47kotlin collections
- 10:01kotlin sequences
- 10:45asynchronous data streams
- 11:37schedulers
- 13:05The Basics
- 14:29Cold observable
- 23:58Operator: map
- 26:05what's the output?
- 27:19Operator: flatmap
related talks
22mBuilding Responsive Applications with RxKotlin
42mAndroid reactive programming with Rxjava
33mRXJAVA EXTENDED: WRITING YOUR FIRST CUSTOM OPERATOR
47mRxJava by example – Volume 3 (the multicast edition)
32mUnderstanding the principles of Rx, Flow, Compose, and more, through Programming Paradigms
26mCoroutines and Rx: A Battle Towards Asynchronicity
49mFunctional Reactive Programming with RxJava
39mAdvanced Networking with RxJava + Retrofit
