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
MVP Pattern
Search
Technophile Community Surat
January 21, 2018
Programming
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MVP Pattern
This talk presents a Fundamental of MVP Pattern in Android Devlopement by Moinkhan Pathan
Technophile Community Surat
January 21, 2018
More Decks by Technophile Community Surat
See All by Technophile Community Surat
Customer Comes First - Lesson and Observation from an Entrepreneur's Journey
technophilesrt
1
110
Unit Test Cases with MVP
technophilesrt
0
110
Deep dive into RXJava
technophilesrt
0
220
ChatBot using Dialog Flow
technophilesrt
1
150
Getting Started with Room Persistence Library
technophilesrt
0
120
Dive into Material Design
technophilesrt
0
120
UI Design for Android
technophilesrt
0
200
Coding Standard
technophilesrt
0
190
Other Decks in Programming
See All in Programming
3Dシーンの圧縮
fadis
1
780
Vite+ Unified Toolchain for the Web
naokihaba
0
320
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
120
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
280
Contextとはなにか
chiroruxx
1
330
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
210
Strategic Design in the Frontend: Moduliths & Micro Frontends @DDDEurope
manfredsteyer
PRO
0
110
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
200
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
410
RTSPクライアントを自作してみた話
simotin13
0
610
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
150
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
200
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Deep Space Network (abreviated)
tonyrice
0
210
Ruling the World: When Life Gets Gamed
codingconduct
0
260
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
Navigating Team Friction
lara
192
16k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
870
Chasing Engaging Ingredients in Design
codingconduct
0
220
How to build a perfect <img>
jonoalderson
1
5.7k
Transcript
None
Android core is it’s self MVC
Why not MVC - Everything connected to Everything. - Controller
becomes heavy by time - Not Modular - Not Scalable - Not Testable
What is MVP exactly? MVP (Model-View-Presenter) is an evolution
of MVC.
Separation of Concern Model & View never communicate with
each other. View layer is completely dumb. Each layer performs a specific task.
Modularity Packages are not made of components but for
screens. Every screen is in it’s own package containing Activity/Fragment (View), Presenter, Contract. Easier to modify or add new feature.
Scalability Model layer is given in data repository format.
Model layer is available as Plug & Play. Modification of layer will not impact another layer.
Testable 80% of code resides in Presenter & Model
layer. Easier to write test as everything is broken to modules. Model & Presenter are pure Java, they can be tested easily using only JUnit.
Cons. Increase the development time.
Codelab https://github.com/TechnophileCommunity/MeetupSessions.git