This app has a simple feed example and also supports a details screen for the same.
It is built using Koltin language.
MVVM is used as the architecture of this app.
The network calls were done using the Retrofit library.
The network response is handled on the IO thread. This is possible by the Kotlin Coroutines.
Also, I have used Hilt as the dependency injection making it easier and efficient to access the dependencies at compile time.
Package Description:
|- data: Contains all the required data classes
|- di: Contains the dependency injection classes
|- network: Contains the classes responsible for handling network connectivity. Also contains the network request classes and interfaces
|- ui: All the Activity and Fragment are present here
|- util: Some helper classes to ease the development
|- Constants.kt: All app-related constants are present here
|- MainApp.kt: The application class of app. Required to initialise hilt library
The app demonstrate the api available here https://jsonplaceholder.typicode.com/posts