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
12
0
Share
Clean Architecture to Android Development
How to use Clean Architecture principles to build a high quality Android Project?
Moro
June 04, 2020
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
AI-DLC 入門 〜AIコーディングの本質は「コード」ではなく「構造」〜 / Introduction to AI-DLC: The Essence of AI Coding Is Not “Code” but “Structure”
seike460
PRO
0
140
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
280
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
110
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
160
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
320
RSAが破られる前に知っておきたい 耐量子計算機暗号(PQC)入門 / Intro to PQC: Preparing for the Post-RSA Era
mackey0225
3
100
おれのAgentic Coding 2026/03
tsukasagr
1
120
How to stabilize UI tests using XCTest
akkeylab
0
150
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
440
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
490
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
750
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
100
Featured
See All Featured
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
340
Designing for humans not robots
tammielis
254
26k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
Side Projects
sachag
455
43k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
BBQ
matthewcrist
89
10k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
320
Measuring & Analyzing Core Web Vitals
bluesmoon
9
800
Discover your Explorer Soul
emna__ayadi
2
1.1k
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