News is basically a sample news app which is built to demonstrate the modern android tools.
You can Install and test latest OnlyNews app from below 👇
It loads the news articles using news api. Using retrofit we fetch all the json data provided by the api and display on the user screen.
-
Kotlin - First class and official programming language for Android development.
-
Coroutines - For asynchronous and more..
-
Flow - A cold asynchronous data stream that sequentially emits values and completes normally or with an exception.
-
Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
- LiveData - Data objects that notify views when the underlying database changes.
- ViewModel - Stores UI-related data that isn't destroyed on UI changes.
- ViewDataBinding - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.
- Room - SQLite object mapping library.
-
Retrofit - A type-safe HTTP client for Android and Java.
-
Material Components for Android - Modular and customizable Material Design UI components for Android.
-
DataStore - Jetpack DataStore is a data storage solution that allows you to store key-value pairs or typed objects with protocol buffers.
This app uses MVVM (Model View View-Model) architecture.
- Shreyas Patil & Spikey Sanju - Both of yours readme file was too good, so I just tried to make like yours . Thank you 😊