Khabri-news app is an Android application that allows users to access the latest news articles from various categories. It uses the NewsAPI to fetch the news data and offers features like news category selection, search, offline usage, and periodic notifications of the latest news.
- See the latest news articles from multiple sources.
- Choose news categories to view specific types of news.
- Search for news articles based on keywords.
- Save articles for offline reading.
- Get periodic notifications of the latest news.
- Kotlin
- MVVM architecture pattern
- Retrofit for API communication
- Room Database for offline storage
- WorkManager for scheduling notifications
- Firebase Analytics and Crashlytics for app analytics and crash reporting
- Authorization using API key in headers
- Data Binding for UI
- Dependency injection using Dagger Hilt
- Coroutines for asynchronous programming
- LiveData for reactive data observation
To use this app, you will need a NewsAPI key. Follow these steps to get started:
- Obtain a NewsAPI key from NewsAPI website.
- Clone the repository:
https://github.com/samir-sayyed/Khabri-news-app.git
- Open the project in Android Studio.
- Inside the
AppConstants.kt
file, assign your NewsAPI key to theAPI_KEY
variable. - Build and run the app on an Android device or emulator.
Contributions are welcome! If you find any issues or want to enhance the app, feel free to open an issue or submit a pull request. Please make sure to follow the contribution guidelines.
This project is licensed under the MIT License.
- Thanks to NewsAPI for providing the news data.
If you have any questions or suggestions, feel free to contact the team at sayyedsamir11@gmail.com.