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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Andromax GITS Indonesia
December 11, 2018
1
160
Reactive Programming in Android
Introduction reactive programming in Android using RxJava and RxAndroid
Andromax GITS Indonesia
December 11, 2018
Tweet
Share
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
So, you think you're a good person
axbom
PRO
2
1.9k
Six Lessons from altMBA
skipperchong
29
4.2k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.6k
Building AI with AI
inesmontani
PRO
1
700
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
100
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
920
YesSQL, Process and Tooling at Scale
rocio
174
15k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
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 . . .