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

Design & be reactive on Android with Iron Man i...

Design & be reactive on Android with Iron Man in a clean way

Saul Molinero

November 27, 2015
Tweet

More Decks by Saul Molinero

Other Decks in Programming

Transcript

  1. Design & be reactive on Android with Iron Man in

    a clean way
 Saúl Molinero MADRID · NOV 27-28 · 2015 @_saulmm
  2. MADRID · NOV 27-28 · 2015 @_saulmm DEPENDENCY INjECTION Coordinator

    Layout RXJAVA RETROFIT 2 CLEAN ARCHITECTURE DATA BINDING OKhttp
  3. MADRID · NOV 27-28 · 2015 @_saulmm SOLID SINGLE responsibility

    OPEN-CLOSED LISKOV SUBSTITUTION INTERFACE SEGREGATION DEPENDENCY INVERSION
  4. MADRID · NOV 27-28 · 2015 @_saulmm - Easy to

    test - Easy to add - Easy to hide implementations Featuring:
  5. MADRID · NOV 27-28 · 2015 @_saulmm Views PRESENTER INTERACTOR


    / USECASE INTERACTOR
 / USECASE INTERACTOR
 / USECASE REPOSITORY DATASOURCE DATASOURCE DATASOURCE View Interface INTERACTOR INTERFACE REPO INTERFACE DATA SOURCE INTERFACE
  6. MADRID · NOV 27-28 · 2015 @_saulmm Observable onNext(T t)

    -> emits items onCompleted() -> no errors and no more emissions onError(Throwable t) -> an error has happened RX JAVA
  7. MADRID · NOV 27-28 · 2015 @_saulmm References http:/ /www.slideshare.net/flipper83/forgetting-android

    http:/ /pguardiola.com/blog/clean-architecture-part-1/ http:/ /fernandocejas.com/2014/09/03/architecting-android-the-clean-way/ http:/ /www.materialup.com/posts/marvel-avengers-app-animation-concept https:/ /speakerdeck.com/realm/functional-reactive-programming-in-java-by-juan-gomez-droidcon-nyc-2015 https:/ /speakerdeck.com/realm/bay-area-android-yigit-boyar-and-george-mount-data-binding-in-android-6-dot-0 http:/ /es.slideshare.net/PedroVicenteGmezSnch/dependency-injection-on-android-spanish https:/ /github.com/PaNaVTEC/Clean-Contacts