RxJava by example – Volume 3 (the multicast edition)
summary
Demos show concrete mechanics: a timer proves regular Observables recreate work per subscribe, then publish + refCount and publish + autoConnect are compared; refCount stops and restarts the source, autoConnect keeps running and requires manual disposal. A replay example shows new subscribers get the last value but that value is lost if everyone unsubscribes unless using replayingShare. Android examples include a two‑button timer, a Retrofit network request held in a ViewModel, pagination refactor and a working avoid‑doOnNext pattern.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:10Multicasting
- 3:20Multicasting example
- 8:21Operators
- 12:35Marble diagrams
- 13:52refcount
- 17:48autoconnect
- 21:25recap
- 24:27subscribe
- 29:19use cases
- 38:41side effects
- 41:02Questions
related talks
41mLearning Rx by example
39mAdvanced Networking with RxJava + Retrofit
42mAndroid reactive programming with Rxjava
32mRX Java with Kotlin in Baby Steps
33mRXJAVA EXTENDED: WRITING YOUR FIRST CUSTOM OPERATOR
22mBuilding Responsive Applications with RxKotlin
49mReactive Programming in Java
47mReactive programming in Java
