Source code to start an Android application in VIPER clean architecture. The source code contains different layers of VIPER architecture which is demonstrated through movie app.
There are four packages:
- data - The package contains data stores i.e.
MoviesDataStorewhich is implemented byRemoteMoviesDataStoreandLocalMoviesDataStore. These data stores provide movies data toMovieRepositorywhich provides movies data to domain layer. - domain - This is the core logical layer in which main part is interactors(also called use cases).
GetPopularMoviesis the interactor which gets data fromMovieRepositoryand provide it to presentation layer. - presentation - It contains
MoviesPresenterandMoviesView.MoviesListActivityimplementsMoviesView.MoviesPresentergets movies list fromGetPopularMoviesinteractor.MoviesRounterhandles navigations from movies list. - common - It contains common base classes and constants.
- RxAndroid
- Retrofit
- Dagger2