Android MVP Architecture
A basic sample android application to understand MVP in a very simple way. Just clone, build, run and understand MVP.
Project Structure
Screenshot
The app has following packages:
- data: It contains all the data accessing and manipulating components.
- ui: View classes along with their corresponding Presenters.
- utils: Utility classes.
Key points
- Using base abstract classes to support MVP methodology while avoiding Activity leaks by releasing the view when it's no longer needed, BasePresenter reasonable to destroy the view onDestroy().
Used libraries:
Feel free to submit any type of issues and suggestions for improving the coding standard