Reactive Programming Talk @DevCon Yangon 2016. Reactive Programming explained with real world examples written in Java including Capturing Double Click, Loading Network and Cache Data and implementing AutoComplete Search
What’s Reactive Programming? Reactive programming is programming with asynchronous data streams. Source : https://gist.github.com/staltz/868e7e9bc2a7b8c1f754
What’s Reactive Programming? Reactive programming is programming with asynchronous data streams. Source : https://gist.github.com/staltz/868e7e9bc2a7b8c1f754
Capturing Double Click Step 1 : Capture click events in a stream Step 2 : Group click events within a time period Step 3 : Count the grouped click events in each time period Step 4 : Filter groups that contains 2 or more clicks
Switchmap Switchmap works like Concatmap but it will immediately unsubscribe to pervious items emitted from the stream as soon as an observable emits an item into the stream
Suggested Links The Introduction to Reactive Programming You’ve been missing https://gist.github.com/staltz/868e7e9bc2a7b8c1f754 Exploring RxJava 2 for Android http://jakewharton.com/exploring-rxjava-2-for-android/ Learning Rx by example Part 1 & 2 https://www.youtube.com/watch?v=k3D0cWyNno4 https://vimeo.com/190922794 Rx-Android-Samples https://github.com/kaushikgopal/RxJava-Android-Samples Rxify Series https://medium.com/@ragdroid