This repository contains a sample Android App that shows most popular articles data from NY Times API. This is a sample app that shows how different jetpack libraries interact with each other. The app code follows SOLID principles by implementing Clean Architecture. The basic purpose of this project is to show how Android apps are structured and developed at DevCrew.IO.
Clean Architecture Implementation
The project has the following three packages.
Layer that contains repositories, API (Network), Persistence DB.
Layer that contains Entities, Use Cases, and Repository interfaces.
Layer that contains UI related stuff like Views and ViewModel etc
This project follow MVVM base Clean Architecture. The following tools and technologies have been used to develop:
Tools and Technology
|Android Studio||Arctic Fox 2020.3.1|
The following libraries have used in this project:
- Hilt DI
- DataBinding, ViewBinding
- Navigation Component
- Kotlin Coroutines
- Lifecycle aware
Before you set up the project please make sure you have installed required min versions of tools installed mentioned in above Development Tools table. Otherwise you may come to build errors.
Here are simple steps to setup project:
- Clone the repo
- Make sure you have checked out master branch
- Open project in your preferred IDE (Android Studio)
You can run and test the app on Android devices. To build and & run the app simply press the RUN button from Android Studio.
Waseem Abbas (Sr. Software Engineer at DevCrew.IO).
Contributions, issues, and feature requests are welcome!
Show your Support
Give a start if this project helped you.
Copyright © 2022, DevCrew.IO