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

Architecture Blueprints and Testing in Android ...

Avatar for Hamza Hamza
September 27, 2016

Architecture Blueprints and Testing in Android - Introduction

Introductory slides for the Architecture Blueprints and Testing in Android event organised by GDG Ibadan on September 24th, 2016. It contains details about the schedule of the event nad the basics of the MVP architecture on Android

Avatar for Hamza

Hamza

September 27, 2016

Other Decks in Programming

Transcript

  1. What we’ll be talking about  Architecture blueprints in Android?

     MVP  CodeLabs  Clean Architecture  CodeLabs  Testing  CodeLabs
  2. Architecture Blueprints in Android The Android framework offers a lot

    of flexibility when it comes to defining how to organize and architect an Android app. This freedom, whilst very valuable, can also result in apps with large classes, inconsistent naming and architectures (or lack of) that can make testing, maintaining and extending difficult.
  3. Types of architecture blueprints  MVP (Model View Presenter) 

    Clean Architecture  MVVM (Model View-View Model)
  4. MVP The model is the data that will be displayed

    in the view (user interface).
  5. MVP The view is an interface that displays data (the

    model) and routes user commands (events) to the Presenter to act upon that data. The view usually has a reference to its Presenter.
  6. MVP The Presenter is the “middle- man” (played by the

    controller in MVC) and has references to both, view and model
  7. MVP

  8. MVP