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
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
0
540
TVerのWeb内製化 - 開発スピードと品質を両立させるまでの道のり
techtver
PRO
3
1.2k
モダンJSフレームワークのビルドプロセス 〜なぜReactは503行、Svelteは12行なのか〜
fuuki12
0
120
Claude Code on the Web を超える!? Codex Cloud の実践テク5選
sunagaku
0
600
CSC509 Lecture 13
javiergs
PRO
0
260
AI時代もSEOを頑張っている話
shirahama_x
0
170
関数の挙動書き換える
takatofukui
4
750
分散DBって何者なんだ... Spannerから学ぶRDBとの違い
iwashi623
0
110
Chart.jsで長い項目を表示するときのハマりどころ
yumechi
0
160
詳細の決定を遅らせつつ実装を早くする
shimabox
2
1.3k
生成AIを活用したリファクタリング実践 ~コードスメルをなくすためのアプローチ
raedion
0
140
データファイルをAWSのDWHサービスに格納する / 20251115jawsug-tochigi
kasacchiful
2
100
Featured
See All Featured
Designing Experiences People Love
moore
142
24k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
Agile that works and the tools we love
rasmusluckow
331
21k
Building an army of robots
kneath
306
46k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
Context Engineering - Making Every Token Count
addyosmani
9
420
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
How to train your dragon (web standard)
notwaldorf
97
6.4k
A better future with KSS
kneath
239
18k
The Invisible Side of Design
smashingmag
302
51k
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