Exploring RxJava 2 for Android
summary
RxJava 2 reworks Observable creation, subscription management and backpressure: it introduces Observable vs Flowable to mark whether a source supports backpressure, adds Single/Maybe/Completable for scalar or void results, and standardizes on disposable/subscription semantics with onSubscribe. Examples show using fromCallable and create with emitters to wrap sync and async calls, composing with map/flatMap/subscribeOn/observeOn, and claims measurable allocation and GC reductions; library is in dev preview with a final release imminent.
AI-written summary · about
chapters (15)
- 0:00Start
- 2:50Why Reactive?
- 18:24Flowable vs. Observable
- 22:40Reactive Streams
- 24:09Source Specializations
- 24:21Single
- 24:58Completable
- 25:20Maybe
- 26:23Creating Sources
- 30:45Observing Sources
- 35:20Operators
- 37:49Operator Specialization
- 39:32Being Reactive
- 41:30Architecture (2.x)
- 42:48Living with 1.x and 2.x
related talks
40mRxJava 2 for the rest of us
45mIntro to RxJava
39mRx Concurrency: A Prescription for Multi-threading
39mReactive Android: RxJava and beyond
37mA Practical Guide To master Rx Streams
36mRx in Multiplatformland
33mRXJAVA EXTENDED: WRITING YOUR FIRST CUSTOM OPERATOR
32mUnderstanding the principles of Rx, Flow, Compose, and more, through Programming Paradigms
