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

Android @ Scale

rallat
April 13, 2018

Android @ Scale

5 minute talk at Shibuya APK

rallat

April 13, 2018
Tweet

More Decks by rallat

Other Decks in Technology

Transcript

  1. MV

  2. Dependency Injection Allows to declare dependencies of an object upfront.

    This helps to easily mock dependencies and unit test the object
  3. Complex screens Multiple logic layer components each with a single

    responsibility. Logic layer components can subscribe to events tied to their logic (E.g. Rx, EventBus)
  4. Shared logic If the view is shared you can create

    a 3 layered complete feature component.
  5. Shared logic If the view is shared you can create

    a 3 layered complete feature component. If the view is not share then add another layer…
  6. Goal Each layer has a reason to exist. Consistency in

    codebase Testable logic layer Reusable of logic layer
  7. Do Not Over-Engineer Libraries, patterns are tools not goals The

    goal is to ship and maintain speed of development