Skip to content

Displays news fetched from NewsAPI. Built using MVVM Architecture with offline-first approach.

License

Notifications You must be signed in to change notification settings

anshtya/news-app

Repository files navigation

NewsApp

News app created using Kotlin. This app uses NewsAPI for displaying and searching news. You can also bookmark news articles.

👨‍💻Tech Stack

  • MVVM Architecture - Seperating UI from business logic.
  • Hilt - Dependency injection library.
  • Room - Provides an abstraction layer over SQLite used for offline data caching.
  • Flow and Coroutines - Perform asynchronous programming.

📸 Screenshots

news saved search

🖥️Installation

To clone the project, run

git clone https://github.com/anshtya/NewsApp.git

Open the project in Android Studio.

This project uses NewsAPI API key. To get yours visit NewsAPI. To use the api key open local.poperties file and type

API_KEY = your_api_key

Open Constants.kt file and replace the value of COUNTRY_CODE

const val COUNTRY_CODE = "your_country_code"

and rebuild the project.

Releases

No releases published

Packages

No packages published

Languages