Skip to content

omkarmohanta50/NewsApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News App in MVVM Architecture

This is a News App built using Kotlin, following the Model-View-ViewModel (MVVM) architecture. It fetches news data from an API using Retrofit, manages navigation with Navigation Components, handles background tasks with Coroutines, and stores data locally using Room Databases.

Features

  • Fetches and displays the latest news articles
  • Supports offline access to news articles
  • Provides a clean and intuitive user interface
  • Implements MVVM architecture for separation of concerns
  • Uses Retrofit for network requests
  • Uses Coroutines for asynchronous operations
  • Utilizes Room for local database storage
  • Navigates seamlessly using Navigation Components

Run Locally

  1. Clone the project
  git clone https://github.com/omkarmohanta50/NewsApp.git
  1. Open the project in Android Studio.
  2. Build and run the project on an Android device or emulator.

Dependencies

  • Kotlin
  • Retrofit
  • Navigation Components
  • Coroutines
  • Room Database

API Reference

This app fetches news articles from NewsAPI. You will need to obtain an API key from NewsAPI and add it to your project.

  1. Sign up at NewsAPI to get your API key.
  2. Add your API key to the Constants.kt file
  const val API_KEY = "YOUR_API_KEY_HERE"

Contributing

Contributions are always welcome!

Feel free to contribute to this project by opening issues and submitting pull requests. Please follow the standard GitHub workflow for contributing.

Contact

For any questions or feedback, please contact omkarmohanta5060@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages