Skip to content

OnlyNews is basically a sample news app which is built to demonstrate the modern android tools.

License

Notifications You must be signed in to change notification settings

Somnath6646/NewsApp

Repository files navigation

NewsApp  

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 👇

News App

About

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.

Built With 🛠

  • 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.

Architecture

This app uses MVVM (Model View View-Model) architecture.

Thanks 🙏