Today I show a simple Android project I wrote which shows the use of Dagger, Retrofit and some other stuff.
The full source code of the project is available for you here
The project’s main purposes are the following:
Show Dagger2 dependency injection; Show MVP architecture (made through Dagger2) Show the repository pattern used to cache server data Show the creation and use of a CustomView
Furthermore, I have used ButterKnife to remove the boilerplate code needed to bind classes/views, and GreenDao to automatically create the SQLite repository/model classes.
This project is based on the Google Android Architecture samples which are available here