This is a simple Offline first E-commerce App written in Kotlin with Jetpack Compose
The offline first strategy used was to first load the products from the remote data source(Retrofit) to the Local data source (Room) in the background using work manager. Everything shown in the app is loaded from the room database (except search)
Libraries used include
- Retrofit
- Dagger Hilt
- Room Database
- Datastore
- Work Manager
- Coil Compose
- Accompanist
- Kotlin coroutine & Flows