Skip to content
This repository was archived by the owner on Jun 7, 2018. It is now read-only.

Files

Latest commit

author
insacc
Sep 7, 2016
dfac028 · Sep 7, 2016

History

History
31 lines (19 loc) · 855 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 855 Bytes

android-mvp-sample

Android MVP Architecture Example

Summary

This is a sample for android mvp architecture. It showcases a simple implementation of the Model-View-Presenter pattern with no architectural frameworks. It uses manual dependency injection to provide a repository with local data sources.

Key Concepts

The features are:

-Login
-Register
-AddEditAuction
-Auctions
-AuctionBidList
-AuctionDetail

Each feature has:

A contract defining the view and the presenter
An Activity which is responsible for the creation of fragments and presenters
A Fragment which implements the view interface.
A presenter which implements the presenter interface

In general the business logic lives in the model classes. The presenters mediate between models and views.

android-mvp-sample