Coder Social home page Coder Social logo

somveersaini / newsapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 172 KB

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

Kotlin 100.00%
newsapplication mvi-clean-architecture data-binding jetpack-navigation caching offline-capable

newsapp's Introduction

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

[email protected]

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

newsapp's People

Watchers

 avatar  avatar

Forkers

lifesboy

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.