/News-Feed

Demonstrating clean architecture with Jetpack components with Room offline persistence and online/offline pagination. A medium article link is given below which explains this project.

Primary LanguageKotlin

News-Feed Jetpack Components

App demonstrating Clean Architecture using Coroutines and Android Jetpack Components (Room, MVVM Paging, Navigation Components and Live Data)

ScreenShots

Tech-Stack

  • Retrofit : For Network calls
  • Architecture : MVVM
  • Coroutines for background operations like fetching network response
  • Room database : For offline persistence and Paging Library
  • Live Data : To notify view for change
  • Dagger : For dependency injection
  • Language : Kotlin

Architecture Diagram

This application strictly follows the below architecture

API Key

Get your api key from here https://newsapi.org/

Follow instructions in build-gradle (app) to integrate API key to build the project.