An open API service indexing awesome lists of open source software.

https://github.com/mohak1712/mvpandroid

Sample app to demonstrate MVP (Model - View - Presenter) architecture in android
https://github.com/mohak1712/mvpandroid

android android-application androidapp dagger2 dependency-injection espresso mockito mvp mvp-android mvp-architecture mvp-pattern rxandroid rxjava

Last synced: 7 months ago
JSON representation

Sample app to demonstrate MVP (Model - View - Presenter) architecture in android

Awesome Lists containing this project

README

          

# MVPAndroid

### Sample app to demonstrate MVP (Model - View - Presenter) architecture in android

## Packages

1. **data** - Contains model and data manager. It contains all the logical part of the app.
2. **di** - Dependency injection classes using Dagger2.
3. **ui** - Contains activity and fragments along with their presenters.
4. **utils** - Contains utility classes.

## Libraries

1. [Dagger 2](https://github.com/google/dagger)
2. [ButterKnife](https://github.com/JakeWharton/butterknife)
3. [Retrofit](https://github.com/square/retrofit)
4. [Picasso](https://github.com/square/picasso)
5. [Mockito (Unit testing)](https://github.com/mockito/mockito)
6. [Espresso (UI testing)](https://google.github.io/android-testing-support-library/docs/espresso/index.html)

## How to use this project

Add your [themoviedb](https://www.themoviedb.org/) api key to Constants.API_KEY and you are good to go !

# ScreenShots
![screenshot_20170609 233247](https://user-images.githubusercontent.com/12782512/26989240-fd28e922-4d6f-11e7-9748-6f338d69cf01.jpg)
![screenshot_20170609 233223](https://user-images.githubusercontent.com/12782512/26989241-fd60a79a-4d6f-11e7-8d51-79d0a4efd53b.jpg)
![screenshot_20170609 233209](https://user-images.githubusercontent.com/12782512/26989243-fd91035e-4d6f-11e7-8726-c81cce8c8116.jpg)
![screenshot_20170610 145531](https://user-images.githubusercontent.com/12782512/27008008-0bb3d6ea-4e84-11e7-99c5-6c651481de32.jpg)
![screenshot_20170609 233159](https://user-images.githubusercontent.com/12782512/26989244-fd94073e-4d6f-11e7-86eb-060548965e2b.jpg)