Skip to content

SelmaGuedidi/NewsApp

Repository files navigation

NewsApp 📰

Overview :

Kotlin-based Android news app helps users stay up-to-date on the latest headlines.

Features :

  • 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

Tools & Concepts used :

  • 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.

Application Walkthrough:

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:

  1. 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.
Screenshot 2024-01-20 at 8 35 59 PM Screenshot 2024-01-20 at 8 36 08 PM Screenshot 2024-01-20 at 8 36 17 PM Screenshot 2024-01-20 at 8 36 28 PM Screenshot 2024-01-20 at 8 36 37 PM Screenshot 2024-01-20 at 8 36 47 PM Screenshot 2024-01-20 at 8 36 56 PM

  1. 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.
Screenshot 2024-01-21 at 3 04 42 PM    

  1. 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.
Screenshot 2024-01-21 at 3 16 03 PM Screenshot 2024-01-21 at 3 17 02 PM

  1. Manage Saved Articles:
    • View a list of saved articles.
    • Open saved articles for later reading.
    • Delete unwanted articles with a long press.
Screenshot 2024-01-21 at 3 19 19 PM Screenshot 2024-01-21 at 3 19 30 PM Screenshot 2024-01-21 at 3 19 38 PM

  1. 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.

419012873_1287822248562341_2791344985383441524_n

Releases

No releases published

Packages

No packages published

Languages