Kotlin-based Android news app helps users stay up-to-date on the latest headlines.
- Display News in various categories
- Bookmark news to read later/ Delete news
- Check internet connectivity
- Get news from https://newsapi.org with an API_KEY
-
MVVM Architecture: MVVM (Model-View-ViewModel) is an Android architectural pattern that separates the application into three components: Model (data and logic), View (user interface), and ViewModel (link between Model and View). It enhances modularity and maintainability.
-
Room Database Library: Room is an Android Jetpack library simplifying database operations. It provides an abstraction layer over SQLite, streamlining database handling with entities, DAOs (Data Access Objects), and a database representation. Room promotes efficient database interactions in Android applications.
-
Retrofit2: Retrofit is a popular HTTP client library for Android, simplifying network requests. It utilizes annotations to define API interfaces, enabling seamless conversion of HTTP calls into Java or Kotlin objects. Retrofit supports various data serialization formats and asynchronous requests, making network communication straightforward.
-
Picasso: Picasso is an Android image loading library designed for simplicity and efficiency. It streamlines image loading into ImageView components, handles caching to improve performance, and supports transformations. Picasso simplifies image management in Android applications.
Welcome to our News App, a user-friendly platform to stay updated on the latest news across various categories. Here's a brief walkthrough of its key features:
- Tabs for Every Interest:
- Navigate through seven tabs: HOME, BUSINESS, ENTERTAINMENT, SCIENCE, SPORTS, TECHNOLOGY, HEALTH.
- Each tab presents a curated list of news articles relevant to the selected category.
- Read Full Articles:
- Click on any news headline to read the full article in a webview format.
- Enjoy a seamless reading experience with an integrated webview.
- Save for Later:
- Save interesting articles by clicking on the "Read Later" option at the top-right corner of the screen.
- Access your saved articles at any time from a dedicated section.
- Manage Saved Articles:
- View a list of saved articles.
- Open saved articles for later reading.
- Delete unwanted articles with a long press.
- Internet Connectivity Check:
- The app checks for internet connectivity.
- If there's no internet, a user-friendly message is displayed, ensuring you stay informed about your network status.