Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Event-Driven Programming at Android (but not Rx...

Event-Driven Programming at Android (but not RxJava!)

Presentation at the DevFest Istanbul

Enrique López Mañas

November 29, 2015

Transcript

27 slides
  1. #dfist Reactive • Everything is a flow • Reactive is

    more declarative, less imperative • Reactive is local, Event-Driven is global
  2. #dfist EventBus vs. BroadcastReceiver • BroadcastReceiver/Intent System • EventBus uses

    standard Java classes as events • Do not have to set up intent extras, implement broadcast, extract.. • EventBus: much lower overhead
  3. #dfist Event-Driven • Android: not pure MVP • User Interface,

    Views • Classes that inflates UI (Fragment, Activities)
  4. #dfist Event-Driven • Nested Events • Treating Producers Like Synchronous

    Getters • Debugging • Classes explosion • Data in Events

More Decks by Enrique López Mañas

Other Decks in Programming