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


Emanuele Papa
Copyright © Emanuele Papa 2025, All Rights Reserved.
Our website uses cookies to analyze how the site is used and to ensure your experience is consistent between visits. Read our Cookies Policy

Social Media