Android Application sample based on Mvvm, Koin, LiveData, Paging, Room, AndroidX Preference & Coroutines. It requires an Imgur.com API Client ID which has to be added in Constants.kt
Dark theme | Light Theme | Inner page | Preference |
---|
When text is typed in search view data is fetched from database. If data is not available in local database network call is made and inserted into local database and reflected back in UI. When image list is scrolled and all the values from database is reflected in UI another Network call is made to fetch the next page data and insert it into the database, and this process goes on. Each search is stored in key value pairs to get data which is searched before instantly.
Android Architecture Components
Dependency Injection
Asynchronous Programming
Image Loading