This project was built with Android Studio Electric Eel | 2022.1.1. The project uses Clean Architecture and MVVM presentation pattern. RxJava is used for asynchronous calls and StateFlow and SharedFlow are used to ensure the screen state and emission of unique events.
The project is modularized into features such as Home and Details, and a Libraries module contains Arch, Design, and Navigation modules. Koin is used for dependency injection, and tests are included to ensure that all dependencies are provided at runtime.
The project includes unit tests for the domain and presentation layers, and integration tests for the data layer. The Design module contains the project's design system, while the Arch module contains helper classes to aid development. BuildSrc is used for dependency management, and shared gradles are stored in the Plugins folder.
Static analysis libraries such as Detekt and JaCoCO are included to ensure quality, and a workflow is set up to run automated tests on each pull request.
When click on any item from the main list, a new screen with information about this item should be shown. I used the following endpoint to open details screen and download the APK file: http://ws2.aptoide.com/api/7/app/getMeta/package_name=cm.aptoide.pt
The JSON information is obtained from the following URL: http://ws2.aptoide.com/api/6/bulkRequest/api_list/listApps
The minimum SDK version required is 28.
The use of the following libraries is encouraged:
- Retrofit2
- RxJava
- Material Design
- MVVM or MVP
This file can be installed on an Android device for testing purposes by clicking here.
This challenge was created by Faurecia-Aptoide.