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

Android architecture patterns

Kirill Zotin
November 23, 2013

Android architecture patterns

Kirill Zotin

November 23, 2013
Tweet

More Decks by Kirill Zotin

Other Decks in Programming

Transcript

  1. DAO layer • Poor async support • Lifecycle is a

    nightmare • Difficult to implement properly • Poor async support • Lifecycle is a nightmare • Extra layer of complexity ORM frameworks
  2. Cursor is the model ! • Simple • Async •

    Framework support (ContentObserver, Adapters) • High learning curve
  3. Local Broadcast Manager • Boilerplate • No type safety •

    Hard to test • Fails fast • @Produce • DI friendly Otto, EventBus