Skip to content

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

Notifications You must be signed in to change notification settings

Somnath6646/OnlyNews

Repository files navigation

GitHub Cards Preview

OnlyNews  

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

You can Install and test latest OnlyNews app from below 👇

OnlyNews

UI Design 🎨

Click to View OnlyNews app Design from below 👇

OnlyNews


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.

Screenshots


Api key

  • You need to add the api key in NewstaApp.kt file. You can get a free ApiKey from here

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.

Architecture

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