Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Clean Architecture to Android Development
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Moro
June 04, 2020
Programming
0
12
Clean Architecture to Android Development
How to use Clean Architecture principles to build a high quality Android Project?
Moro
June 04, 2020
Tweet
Share
More Decks by Moro
See All by Moro
MockK and Truth - Unit Tests - Android
gabrielbmoro
0
150
More Accessible Apps - Android
gabrielbmoro
0
9
Variables and Tips - Android
gabrielbmoro
0
10
Migrating an Existing App to Compose - Android
gabrielbmoro
0
12
Recycler View and Performance - Android
gabrielbmoro
0
12
Repository Pattern and Productivity - Android
gabrielbmoro
0
13
What is new in Android Jetpack?
gabrielbmoro
0
18
List Users - Android
gabrielbmoro
0
5
Working with Collections - Kotlin
gabrielbmoro
0
15
Other Decks in Programming
See All in Programming
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
今から始めるClaude Code超入門
448jp
8
8.8k
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
290
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.3k
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
240
SourceGeneratorのススメ
htkym
0
200
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
並行開発のためのコードレビュー
miyukiw
0
170
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
Featured
See All Featured
Designing Powerful Visuals for Engaging Learning
tmiket
0
230
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
75
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Side Projects
sachag
455
43k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
140
It's Worth the Effort
3n
188
29k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Balancing Empowerment & Direction
lara
5
890
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
The Cult of Friendly URLs
andyhume
79
6.8k
Deep Space Network (abreviated)
tonyrice
0
49
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Transcript
Clean Architecture to Android Development Applying SOLID concepts DG Conference
Week Created by Gabriel B. Moro -
[email protected]
Summary • Overview about the Onion Approach • Dependency Rule
• Abstraction Concept • Cake Recipe to Android • SOLID Principles • FInal Consideration
Overview about Onion Approach
Dependency between UI and Presentation class
Dependency between Presentation and Use Case class
Dependency between Use Case and Entity class
Abstraction Concept
Is there a “cake recipe” to implement the clean architecture
to develop Android Apps? In my opinion no, but we can define a good template ;)
SOLID Principles Single responsibility Open-closed Liscov Substitution Interface Segregation Dependency
Inversion
Single Responsability
Open-closed
Liscov Substitution - Look these two classes:
LIscov Substitution
Interface Segregation
Interface Segregation
Dependency Inversion
Dependency Inversion
Conclusions It is hard to solve all of the problems
that we have when we are developing software with good quality. To combine factors such as simplicity, performance, and efficiency are always a big challenge. For this reason, we build software in teams.
Useful Links • Clean Architecture Tutorial for Android: Getting Start
• Essentials Components for Any Successful Android Project • Getting started with Android Jetpack