Giter Site home page Giter Site logo

abuthegr8 / news_app_kotlin Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 1.91 MB

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

Kotlin 100.00%
apicall bottomnavigationview constraint-layout coroutines databinding-android error-handling fragments framelayout kotlin-android mvvm-architecture recyclerview-adapter retrofit room-database sealed-class solid-principles applicationcontext internetconnectionchecker ioexception viewmodel serialization

news_app_kotlin's Introduction

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

news_app_kotlin's People

Contributors

abuthegr8 avatar

Watchers

 avatar

Forkers

mmohitt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.