Advanced Networking with RxJava + Retrofit
summary
Shows concrete RxJava + Retrofit patterns: uses retryWhen with zip(1..3) and timer for bounded exponential backoff, replaces ad-hoc onError retries with a controlled stream, and wires a retry button via a Relay/Subject to resubscribe. Splits work into three streams — request-state relay, response, error — then combineLatest into a UI model. Covers CompositeDisposable, RxLifecycle for automatic unsubscription, Kotlin sealed classes for state, and using cache + getLastNonConfigurationInstance to keep an in-flight observable across rotation.
AI-written summary · about
chapters (5)
- 0:00Introduction
- 3:46Handling network errors
- 14:23Showing loading states
- 24:26Managing configuration changes
- 36:45Summary and Q&A
related talks
47mRxJava by example – Volume 3 (the multicast edition)
22mBuilding Responsive Applications with RxKotlin
51mManaging State with RxJava
26mCoroutines and Rx: A Battle Towards Asynchronicity
41mLearning Rx by example
49mFunctional Reactive Programming with RxJava
28mApplying Rx Best Practices to Your Architecture
37mA Practical Guide To master Rx Streams
