Skip to content

A MVVM Kotlin app that fetches news from newsapi.org API and provides functionality like saving and searching news for the users.

Notifications You must be signed in to change notification settings

abuthegr8/news_app_kotlin

Repository files navigation

News App

Introduction

A clean MVVM (Model-View-ViewModel) structured kotlin android app for fetching news for the user and a few additional features to make the app more useful.
Tech Stack used while developing the app:

  1. Kotlin
  2. Clean MVVM Architecture
  3. ROOM Database
  4. Retrofit

    API used for fetching news:
    https://newsapi.org/

News_API

App WorkFlow

The app follows a simple yet well-structured workflow:

The app first loads up the BreakingNews Fragment.

Breaking_News

Then the user can click any article to load up the Article Fragment.

Article

The user can choose to save the current news article in the ROOM database for offline access by clicking on the save button.

Article_Saved

The user can view all the saved news articles in the SavedNews Fragment.

Saved_News

Further the user can delete any saved news articles by swiping left or right on the article itself.

Article_Deleted

Lastly, the user can enter a custom search keyword in the SearchNews Fragment to search for news of their interest.

Search-News