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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Technophile Community Surat
January 21, 2018
Programming
0
170
MVP Pattern
This talk presents a Fundamental of MVP Pattern in Android Devlopement by Moinkhan Pathan
Technophile Community Surat
January 21, 2018
Tweet
Share
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
100
Unit Test Cases with MVP
technophilesrt
0
110
Deep dive into RXJava
technophilesrt
0
210
ChatBot using Dialog Flow
technophilesrt
1
150
Getting Started with Room Persistence Library
technophilesrt
0
100
Dive into Material Design
technophilesrt
0
110
UI Design for Android
technophilesrt
0
190
Coding Standard
technophilesrt
0
180
Other Decks in Programming
See All in Programming
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
730
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
140
Understanding Apache Lucene - More than just full-text search
spinscale
0
120
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
580
SourceGeneratorのマーカー属性問題について
htkym
0
200
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
270
Ruby and LLM Ecosystem 2nd
koic
1
770
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
270
ロボットのための工場に灯りは要らない
watany
10
2.9k
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
950
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
540
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.1k
Featured
See All Featured
[SF Ruby Conf 2025] Rails X
palkan
2
830
Joys of Absence: A Defence of Solitary Play
codingconduct
1
310
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
310
Code Review Best Practice
trishagee
74
20k
YesSQL, Process and Tooling at Scale
rocio
174
15k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
270
Git: the NoSQL Database
bkeepers
PRO
432
66k
Writing Fast Ruby
sferik
630
63k
Designing for Timeless Needs
cassininazir
0
160
Leo the Paperboy
mayatellez
4
1.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
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