News Feed Android App (Summary)
This app works as an app that shows the recent news headlines gotten from an api.
The Structure
This project makes use of the following technologies:
- MVVM (Model-View-ViewModel) Architecture
- Kotlin Coroutines for background operations.
- Dagger Hilt for injecting required dependencies.
- Retrofit for Network requests.
- Jetpack Navigation Components for Navigation.
- JUnit/Mockito for unit tests.
- Jetpack Compose for UI
The Package Structure
The project files were grouped by feature as seen in the image below where:
- data package contains the common models used across the app, the models per feature (newslist) and specs for the network layer.
- di package contains the dependency injection components and modules.
- ui package includes the UI-related classes e.g. viewmodels, composables per feature (newslist).
- util package includes the constants and helper functions used across the application.