A sample of a consumer application of the Marvel API, made in Android
This project was developed with Clean Architecture with MVVM, making use of SOLID principles so that each layer has its responsibility and is testable, with the following layers:
- app: Application module
- mappers: Models and DTOs adapters
- frameworks: Storage database and API services libraries
- presentation: Views and view models
- core: Business Logic module
- data: business contracts and commom classes
- domain: business classes and objects
- usecases: User interactors classes
This project also uses Cached Data First Strategy, improvement a better user experience. In this case, if we have some data storaged in app, we should load it at first instead fetch it from server. If we don't, we fetch it from server and then storaged in app.
This application project was developed to run on Android versions up to API 23 (Android 6.0)
- Version: 1.4.1
- Used: To run tasks in background
- Version: 4.9.0
- Used: To load images from URI
- Version: 2.1.3
- Used: Dependence injection
- Version: 0.30.0
- Used: To format and clean code
- Version: 3.0.7
- Used: To animate loaders
- Version: 2.2.0
- Used: To mock objects in unit tests
- Version: 4.0.1
- Used: With Retrofit to intercept Logs and create requests clients
- Version: 2.9.0
- Used: To make requests on server API
- Version: 2.7.1
- Used: To storage data in app
In progress...