Android reactive programming with Rxjava
summary
Hands-on RxJava on Android: builds an Observable from installed apps, shows emitting with subscriber.onNext, filters with distinct/sample/take/flatMap/map, and transforms app info into names or bitmaps. Demonstrates thread handling with subscribeOn(Schedulers.io()) observeOn(AndroidSchedulers.mainThread()) to avoid UI-thread crashes. Integrates Retrofit (Rx-compatible), RxAndroid, Dagger 2, ButterKnife and an image loader to fetch StackOverflow users and OpenWeatherMap icons; demo app runs and scales (author cites a related app with 100,000 downloads).
AI-written summary · about
chapters (15)
- 0:00Introduction to RxJava
- 1:14Reactive paradigm shift
- 3:56Observer pattern fundamentals
- 5:45Core RxJava components
- 8:39Creating observables
- 12:27Implementing the observer
- 14:01Filtering data streams
- 17:38Handling ongoing streams
- 20:59Transforming data
- 25:45Combining observables
- 28:05Threading and schedulers
- 32:22Advanced scheduling
- 34:00Real world Android app
- 38:21Complex chaining example
- 40:04Conclusion and resources
related talks
32mRX Java with Kotlin in Baby Steps
33mRXJAVA EXTENDED: WRITING YOUR FIRST CUSTOM OPERATOR
22mBuilding Responsive Applications with RxKotlin
24mRefactoring your app in Rx
47mRxJava by example – Volume 3 (the multicast edition)
23mWhy Reactive Programming?
49mFunctional Reactive Programming with RxJava
52mReactive Programming in Java
