Mobile Data Monitoring System Based on MVP Mode
Abstract
The traditional MVC pattern has several shortcomings in Android application development, such as complex structure and too tight connection between Controller and View.The key class Activity in Android is the combination of Controller and View classes, which is not only responsible for the operational logic, but also responsible for the display. The Activity has a high degree of coupling. The Presenter introduced by MVP model completely separates the Model layer from the View layer,which solves the problem of overly bloated activities and also helps in later testing and maintenance. This article analyzes the shortcomings of traditional MVC application development in Android, and explores the feasibility and advantages of MVP mode in Android development, and finally implements the application of MVP mode in Android-based data monitoring system.
Keywords
MVP, Android, LitePal
DOI
10.12783/dtcse/CCNT2018/24726
10.12783/dtcse/CCNT2018/24726
Refbacks
- There are currently no refbacks.