/simple-offline-caching-app

Simple MVVM app gets its data from REST API and caches them phone storage locally

Primary LanguageKotlinApache License 2.0Apache-2.0

simple-offline-caching-app

Simple MVVM app gets its data from REST API and caches them phone storage locally.

This app is built by MVVM architecture. This app gets its data from REST API with the help of Retrofit2 and Kotlin Coroutines and caches them to Room database. NetworkBoundResource helper method is implemented with the help of Kotlin Flow. Dependencies are injected by Hilt.

Random Data API

Demo app

Screenshots:

Italian Trulli

Tech stack:

  • MVVM
  • Dependency Injection (Hilt)
  • ViewBinding
  • Kotlin Courotines
  • Retrofit
  • Flow, Livedata
  • Git
  • Caching (NetworkBoundResource)
  • Room
  • Glide