This project contains a single screen that displays a list of items that are gradually loaded in chunks from the local database and triggers a network call when the user scrolls and reaches the end of the available data in the database.
With this approach, it provides the best user experience as the cached content is always available on the device even without internet connection.
The app leverages on some of the modern Android Architecture components as follows :
- Room Database
- Paging
- LiveData
- ViewModel
- Retrofit
- Anko Commons
- Clone or download this repository.
- Replace the Wave API Key and Business ID with your own by updating your machine level gradle.properties (/Users/username/.gradle/gradle.properties). If the file doesn't exist, create one.
- Build and Run!
Download and install app-debug.apk
