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
La modularisation dans le développement Android
Search
Yves Kalume
January 13, 2022
Programming
21
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
La modularisation dans le développement Android
Yves Kalume
January 13, 2022
More Decks by Yves Kalume
See All by Yves Kalume
Bringing AI to Android With Gemini
yveskalume
0
16
Dompting the Elephant: Making Sense of Gradle for Android Developers
yveskalume
0
48
Practical AI for Android Developers with Android Studio’s AI Agent
yveskalume
0
45
Designing scalable Compose APIs
yveskalume
1
160
Demystifying Memory Leaks in Android
yveskalume
2
150
L’essentiel de Git et Github en max 20 minutes
yveskalume
1
62
Traitement des annotations en Kotlin
yveskalume
1
43
Modern Android Architecture
yveskalume
1
110
GDSC Alumni retour d’experience
yveskalume
0
34
Other Decks in Programming
See All in Programming
バグを直したら useEffect が消えた
colorful12
3
670
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
230
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.4k
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
400
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
510
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
230
自動化したのに回らない テスト運用の壁―AI時代の品質責任と生産性
mfunaki
0
370
Go 1.27 における memory allocation の高速化
andpad
0
290
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
530
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
350
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
270
My Marp Sample
sinoue0108
0
110
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.8k
Paper Plane
katiecoart
PRO
2
53k
From π to Pie charts
rasagy
0
310
Six Lessons from altMBA
skipperchong
29
4.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
420
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
350
New Earth Scene 8
popppiees
3
2.5k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Transcript
La modularisation dans le développement Android Yves Kalume Lead, GDSC
Esisalama Lubumbashi
Modularisation,quid ?
App -> manifest -> Java -> src -> data ->
ui -> home -> HomeActivity.kt -> HomeViewModel.kt ... -> res -> layout -> activity_home.xml -> activity_search.xml -> item_content.xml
“It is not enough for code to work.” - Uncle
Bob
None
:app
Modulariser Décomposer une grosse application en modules, qui peuvent être
développés et améliorés indépendamment
App -> java ... -> HomeActivity -> HomeViewModel -> res
-> layout -> activity_home.xml -> ... Search -> java ... -> SeachActivity -> SearchViewModel -> res -> layout -> activity_search.xml -> ... plugins { id 'com.android.application' … } dependencies { implementation project(":search") … } plugins { id 'com.android.library' … }
Avantages
Maintenable et Scalable
:module1 :module2 :module3
Speed up build
App module1 App module2 module3
Testable & Reusable
App module1 App module2 module3
Dynamic delivery (feature module)
App :fonctionnalité A :fonctionnalité B :premium
Bonnes pratiques
Layer modularization UseCases,Enitity (RepositoryInterface) Repositories,DataSources,DTO Views,ViewModels
Gestion des dépendances • implementation Vs api • Dettes techniques
moduleA moduleB implementation project(":moduleA") implementation("com.lorem.lib:1.0") api("com.lorem.lib:1.0") • Dependances circulaire moduleA moduleB X Module1 build.gradle Module2 build.gradle Module3 build.gradle
Modularisation,quand ?
Maintenant ! Mais calmons nos ardeurs 👀
Merci !