clean manager gdg ciudad del este architecture en rodrigo ... mvp clean … · rodrigo garcete,...

Post on 08-Jul-2020

1 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Clean Architecture en Android

Rodrigo Garcete, Software DeveloperManager GDG Ciudad del Este

Agenda

Objectives

CLEAN..?

SOLID Principles

MVP

Entities, Use Case and Interactors

Repository Patterns

Libraries

Show me code

Objectives

● Independents of the framework

● Testable● Independent of UI● Independent of Database● Independent of any

external agency

CLEAN

CLEAN

El creador de este concepto es Robert C. Martin (Uncle Bob)

CLEAN LAYERS

UIDOMAINDATA

SOLID PRINCIPLES

Single Responsibility

Open/Closed

Liskov substitution

Interface segregation

Dependency Inversion

MVP

ModelViewPresenter

DOMAIN

EntitiesUse CasesInteractors

DATA

PreferencesDBAPIs

LibrariesButterknife - UI Injection

Dagger2

Retrofit2 RxJava

CLEAN with RxJava

LibrariesDatabase

● Realm.io● DFlow

Libraries for Test

JUnit + MockitoEspressoRoboelectric

Show me code

top related