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.
- 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
- Clone the project
git clone https://github.com/omkarmohanta50/NewsApp.git- Open the project in Android Studio.
- Build and run the project on an Android device or emulator.
- Kotlin
- Retrofit
- Navigation Components
- Coroutines
- Room Database
This app fetches news articles from NewsAPI. You will need to obtain an API key from NewsAPI and add it to your project.
- Sign up at NewsAPI to get your API key.
- Add your API key to the Constants.kt file
const val API_KEY = "YOUR_API_KEY_HERE"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.
For any questions or feedback, please contact omkarmohanta5060@gmail.com