Skip to content

News App using MVI clean Architecture, Data binding, JetPack Navigation/SafeArgs with caching/offline support

Notifications You must be signed in to change notification settings

somveersaini/NewsApp

Repository files navigation

News App MVI

Using MVI clean Architecture, Data binding, JetPack Navigation/SafeArgs

A two-screen (news view + details view) app using NewsAPI.org top-headlines API

Description

  1. Home screen -> Contains scrollable vertical list for Article Items and a scrollable horizontal list for Category Items at bottom of screen. Support for swipe-to-refresh and error showing.
  2. Details page -> shows details of particular News Article item. Navigates to full news article in web/chrome.

Things to look for

  • MVI Architecture (intent -> action -> result -> viewstate) unidirectional flow and state machine
  • JetPack Navigation component / Nav Graph / SafeArgs
  • Databing with binding adapters
  • Clean Architecture
  • Offline/Caching approach using RxJava and Room DB
  • Dagger2 for dependency injection

NewsApi.org top-headlines API

Libraries used

  • Android architecture component
  • OkHttp and Retrofit for networking
  • RxJava & RxAndroid
  • Dagger2 for dependency injection
  • Room DB for caching
  • Glide imaging loading
  • JetPack Navigation SafeArgs

Developed By Somveer Saini

somveersaini1234@gmail.com

https://play.google.com/store/apps/developer?id=Somveer+Saini

About

News App using MVI clean Architecture, Data binding, JetPack Navigation/SafeArgs with caching/offline support

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages