Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Reactive Programming in Android
Search
Andromax GITS Indonesia
December 11, 2018
180
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Reactive Programming in Android
Introduction reactive programming in Android using RxJava and RxAndroid
Andromax GITS Indonesia
December 11, 2018
Featured
See All Featured
Site-Speed That Sticks
csswizardry
13
1.6k
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Making Projects Easy
brettharned
120
6.8k
What's in a price? How to price your products and services
michaelherold
247
13k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
950
Side Projects
sachag
456
43k
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 . . .