Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Reactive Programming in Android
Search
Andromax GITS Indonesia
December 11, 2018
170
1
Share
Reactive Programming in Android
Introduction reactive programming in Android using RxJava and RxAndroid
Andromax GITS Indonesia
December 11, 2018
Featured
See All Featured
A better future with KSS
kneath
240
18k
Amusing Abliteration
ianozsvald
1
180
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
Paper Plane (Part 1)
katiecoart
PRO
0
7.9k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
240
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
250
Building AI with AI
inesmontani
PRO
1
1k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
A Modern Web Designer's Workflow
chriscoyier
698
190k
The SEO identity crisis: Don't let AI make you average
varn
0
470
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Transcript
Reactive Programming in Android By Teddy S x Irfan Irawan
S | GITS Indonesia
None
“Reactive programming is programming with asynchronous data stream” Andre Stalz
None
None
Marble Diagram
Marble Diagram
Schedulers In RxAndroid • Schedulers.io • AndroidSchedulers.mainThread • Schedulers.computation •
Schedulers.newThread • Schedulers.single • Schedulers.immediate • Schedulers.trampoline • Schedulers.from
RxJava Components 1. Observable 2. Observer 3. Subscription 4. Operator/Transformation
5. Schedulers
Observables & Observers Types • Observable • Single • Maybe
• Flowable • Completable
Operators Types 1. Observable.just() 2. Observable.from() 3. Observable.range() 4. Observable.filter()
5. Observable.map() 6. etc
Observables x Observer Types Observable Observer # of emissions Observable
Observer Multiple or None Single SingleObserver One Maybe MaybeObserver One or None Flowable Observer Multiple or None Completable CompletableObserver None
Example
References - https://www.androidhive.info/RxJava/android-getting-started-with-reactive-programmi ng/#rxjava - https://github.com/amitshekhariitbhu/RxJava2-Android-Samples - https://git.gits.id/RnD/ANDROID/app/android-gits-playground - https://riptutorial.com/Download/rx-java.pdf
Thanks, it’s time for experiments . . .