Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Desmitificando Clean Architecture en Android
Search
Armando Picón
June 22, 2022
Programming
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Desmitificando Clean Architecture en Android
Armando Picón
June 22, 2022
Transcript
16 slides
Desmitificando Clean Architecture en Android Armando Picón Mobile Engineer at
Cornershop/Uber @devpicon https://linktr.ee/devpicon
Algunas verdades sobre Clean Architecture - Es el título de
un libro y un post de Uncle Bob - No es una arquitectura - Reúne una serie de principios comunes desde el análisis de múltiples arquitecturas - Se fundamenta en la aplicación de principios SOLID - La capa de Dominio (Domain) es el punto central
¿Qué es una arquitectura?
¿Qué es una arquitectura? - Estructurar un proyecto - Distribuir
componentes - Separar de responsabilidades - Está sujeta a diversos factores
¿Podemos estructurar un proyecto siguiendo la guía de Clean Architecture?
¿Podemos estructurar un proyecto siguiendo Clean Architecture? - Sí -
Separation of concerns (separación de intereses) - Testing - El dominio como el centro de todo
Frameworks and drivers Interface Adapters Business Rules (Interactors) Domain Logic
UI Data sources ViewModel Repository Use Cases Entities
Frameworks and drivers Interface Adapters Business Rules (Interactors) Domain Logic
UI Data sources ViewModel Repository Use Cases Entities Dependency rule
Frameworks and drivers Interface Adapters Business Rules (Interactors) Domain Logic
UI Data sources ViewModel Repository Use Cases Entities Data flow
Presentation Domain Data - Compose - View-based system (XML) -
UI Components (Activities, Fragments, Composables, etc) - Notifications - ViewModels Modules
Presentation Domain Data - Compose - View-based system (XML) -
UI Components (Activities, Fragments, Composables, etc) - Notifications - ViewModels Modules - Room - Networking library (Retrofit, Ktor, Volley, etc) - SQLite - ContentProviders - Firebase - SharedPreferences
:Presentation :Domain :Data - Compose - View-based system (XML) -
UI Components (Activities, Fragments, Composables, etc) - Notifications - ViewModels Modules - Room - Networking library (Retrofit, Ktor, Volley, etc) - SQLite - ContentProviders - Firebase - SharedPreferences - Datasources - Repository implementations - UseCases / Interactor - Entities - Repository abstraction
Presentation Domain Data
Presentation Domain Data Abstraction (Interface) Concrete implementation (Class)
Show me the code…
Nos vemos en la próxima! @DevPicon
More Decks by Armando Picón
See All by Armando Picón
Dibujo en Compose
devpicon
0
78
Gemini in Android Studio
devpicon
0
2.9k
Scalable Depency Management with Version Catalog
devpicon
0
84
StateFlow y SharedFlow ¿el fin de LiveData?
devpicon
0
360
Introdução ao Kotlin Flow
devpicon
0
160
Introducción a Kotlin Flow
devpicon
0
190
Introduction to Kotlin Flow
devpicon
0
300
Coroutines on the way!
devpicon
0
110
The Journey to Reach a Good Architecture
devpicon
0
230
Other Decks in Programming
See All in Programming
Ruby から Emacs を操作したい
phigasui
0
390
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
190
Debian JP Projectのサーバー構成
uwabami
1
180
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
210
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
630
テストだけで見つかる? Rubyでつくるメソッド発掘器
izawa
0
160
数行の変更でDockerビルドを最大91%高速化~GitLab CIの実行基盤を社内40リポジトリに展開するまで~
picopico
2
270
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
980
Agentic AI with the Power of Jakarta EE
ivargrimstad
0
190
AI駆動TDD ― 2026年10月版
hrmstrsmgs
0
110
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
390
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.2k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
640
Ruling the World: When Life Gets Gamed
codingconduct
0
450
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
320
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
680
Skip the Path - Find Your Career Trail
mkilby
1
300
Mind Mapping
helmedeiros
1
450