The Internet belongs to everyone. Let’s keep it that way.

Protect Net Neutrality
Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Reacting to RxJava

No description
by

Travis Himes

on 28 January 2015

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Reacting to RxJava

Understanding RxJava
(why you might be interested)
Travis Himes
DramaFever
Android Developer
Websites
http://rxmarbles.com

https://github.com/ReactiveX/RxJava/wiki

http://reactivex.io/RxJava/javadoc/rx/Observable.htm

demo github
https://github.com/thimes/rxAndroidExamples

http://blog.danlew.net/2014/09/15/grokking-rxjava-part-1/

http://www.grahamlea.com/2014/07/rxjava-threading-examples/

http://danosipov.com/?p=678
What is RxJava?
Threads + Networking = pain

Callbacks
Retries
Caching
Deadlocks
AsyncTask
Composability
Coordination
Who?
Microsoft's Erik Meijer for C#.NET
Netflix's Ben Christenson & team create RxJava
Where?
Reactive Java
Asynchronus
Stream of Events

Netflix
New York Times
SoundCloud
Square
DramaFever
Building Blocks
Gotchas and Pitfalls
Observable
Retrofit (Android)
The End
Marble Diagrams
Questions?
Subscribe thread
Observe thread
Backpressure
Errors
Subscriptions (can) leak memory
map()
flatmap()
take()
buffer()
sample()
many more
Action
Func
Subscriber
DEMO
Operators
Why?
Http library

3 modes
Sync
Async
Observable

Other benefits
Gson (or Jackson)
Http library
ProtoBuf
demo github
https://github.com/thimes/RxAndroidExamples
Subjects
Observable && Subscriber
Make Observable Hot
Interesting behaviors
Full transcript