Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Solid principles for Android developer
Search
Anh Vu
May 28, 2017
Technology
900
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Solid principles for Android developer
Popular SOLID practices on Android
Anh Vu
May 28, 2017
Other Decks in Technology
See All in Technology
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
920
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
How to Design Configuration for Rails Applications
willnet
1
810
夫婦で子育てするための育児標準化
codmoninc
PRO
0
360
古い指輪から広がった JAVA コミュニティ とのつながり
yamad
0
110
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
460
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
950
フロントエンドカンファレンス関西2026 - 速すぎるUIに、待ち時間を
teamlab
PRO
0
140
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
3
550
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
270
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1.2k
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
1
570
Paper Plane (Part 1)
katiecoart
PRO
2
12k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
600
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
460
Navigating Weather and Climate Data
rabernat
0
560
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
440
Technical Leadership for Architectural Decision Making
baasie
3
600
Making Projects Easy
brettharned
120
6.8k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Transcript
SOLID FOR ANDROID P L A N DAY
SOLID PRINCIPLES 1. SINGLE REPONSIBILITY 2. OPEN / CLOSED 3.
LISKOV SUBSTITUTION 4. INTERFACE SEGREGATION 5. DEPENDENCY INVERSION
SINGLE REPOSIBILITY • “A class should have only one reason
to change.” • Example: RecyclerView’s Adapter: – Only adapter’s responsibility: mapping an object to its corresponding view. FAIL!!!
SINGLE REPOSIBILITY
OPEN/CLOSED • “software entities (classes, modules, functions, etc) should be
open for extension, but closed for modification” FAIL!!!
OPEN/CLOSED
LISKOV SUBSTITUTION • “Objects in a program should be replaceable
with instances of their subtypes without altering the correctness of that program.”
INTEFACE SEGREGATION • “Many client-specific interfaces are better than one
general purpose interface.” More complicated
INTEFACE SEGREGATION Multiple-method Interface
DEPENDENCY INVERSION 1. “High-level modules should not depend on low-level
modules. Both should depend on abstractions.” 2. “Abstractions should not depend on details. Details should depend on abstractions.” Traditional application layers
Android UI Business Layer Data Layer
None
THANKS FOR LISTENING