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
11
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
130
More Accessible Apps - Android
gabrielbmoro
0
7
Variables and Tips - Android
gabrielbmoro
0
9
Migrating an Existing App to Compose - Android
gabrielbmoro
0
8
Recycler View and Performance - Android
gabrielbmoro
0
10
Repository Pattern and Productivity - Android
gabrielbmoro
0
10
What is new in Android Jetpack?
gabrielbmoro
0
14
List Users - Android
gabrielbmoro
0
4
Working with Collections - Kotlin
gabrielbmoro
0
10
Other Decks in Programming
See All in Programming
GenU導入でCDKに初挑戦し、悪戦苦闘した話
hideg
0
160
『ドメイン駆動設計をはじめよう』中核の業務領域
masuda220
PRO
5
990
KSPの導入・移行を前向きに検討しよう!
shxun6934
PRO
0
220
Rubyのobject_id
qnighy
6
1.3k
マルチモジュールにおけるテスト最適化
fxwx23
0
210
ECMAScript、Web標準の型はどう管理されているか / How ECMAScript and Web standards types are maintained
petamoriken
3
390
令和トラベルにおけるLLM活用事例:社内ツール開発から得た学びと実践
ippo012
0
140
Amazon Neptuneで始める初めてのグラフDB ー グラフDBを使う意味を考える ー
satoshi256kbyte
2
260
o1モデルのプロンプトエンジニアリングって?
ktc_wada
0
160
Method Swizzlingを行うライブラリにおけるマルチモジュール設計
yoshikma
0
120
GraphQL あるいは React における自律的なデータ取得について
quramy
11
2.9k
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
130
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
263
13k
Rebuilding a faster, lazier Slack
samanthasiow
78
8.6k
Intergalactic Javascript Robots from Outer Space
tanoku
268
26k
Navigating Team Friction
lara
183
13k
Making the Leap to Tech Lead
cromwellryan
128
8.8k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
43
2k
BBQ
matthewcrist
83
9.2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
25
3.9k
Why Our Code Smells
bkeepers
PRO
334
56k
How STYLIGHT went responsive
nonsquared
93
5.1k
Faster Mobile Websites
deanohume
304
30k
Gamification - CAS2011
davidbonilla
79
5k
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