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
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
12
Other Decks in Programming
See All in Programming
250830 IaCの選定~AWS SAMのLambdaをECSに乗り換えたときの備忘録~
east_takumi
0
390
アプリの "かわいい" を支えるアニメーションツールRiveについて
uetyo
0
230
今だからこそ入門する Server-Sent Events (SSE)
nearme_tech
PRO
1
120
AI時代のUIはどこへ行く?
yusukebe
18
8.8k
CloudflareのChat Agent Starter Kitで簡単!AIチャットボット構築
syumai
2
480
testingを眺める
matumoto
1
140
Vue・React マルチプロダクト開発を支える Vite
andpad
0
110
個人軟體時代
ethanhuang13
0
320
時間軸から考えるTerraformを使う理由と留意点
fufuhu
15
4.7k
Introducing ReActionView: A new ActionView-compatible ERB Engine @ Rails World 2025, Amsterdam
marcoroth
0
660
詳解!defer panic recover のしくみ / Understanding defer, panic, and recover
convto
0
230
rage against annotate_predecessor
junk0612
0
160
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
36
6.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
4 Signs Your Business is Dying
shpigford
184
22k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
What's in a price? How to price your products and services
michaelherold
246
12k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.2k
How to Think Like a Performance Engineer
csswizardry
26
1.9k
Balancing Empowerment & Direction
lara
3
620
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