The application implementation follows the architecture proposed in the android architectural guidelines.
Following are the features implemented;
- The user can view the list of, search for and preview images from Pixabay API.
- Images can be downloaded using DownloadManager. Right now image in "largeImageURL" is being downloaded as I didn't receive "imageURL" param in JSON despite filling the application description form a day or 2 ago.
- And Retrofit is used to fetch the data from the api which is then paginated using Paging 3 with Coroutine Flows.
- All the project dependencies are injected using Hilt
- Dark Theme support for Android 10 and above
- All the presentation is done using Android Architecture Components like ViewModels, LiveData and Data Binding.
- Clone the project and run it in Android studio.
- Go to Pixabay developer page and generate an API key.
- Copy the generated API key from your account details page.
- Store the copied API key in your computers Environment Variables by name: ImageApiKey
- You will also have to store the API base url in your computers Environment Variables by name: ImageApiBaseUrl
- Build and Run the application \m/.