Skip to content

Pixabay Sample App using Compose, Pixabay API, off-line caching

Notifications You must be signed in to change notification settings

realityexpander/PixabayApp

Repository files navigation

Pixabay Image Search App

Pixabay Image search App using SOLID architecture, uses Hilt, Room, Compose, Coroutines, Retrofit, www.pixabay.com API

  • Allows users to search for images by name
  • Images and Search results cached for offline use
  • Infinity scrolling only loads the search results that you scroll
  • Pinch & Zoom image preview

---- Tech used ----

  • List of Images and Search results are cached locally in a Room database
  • Uses custom query for Room database
  • Shows proper use of Dagger-Hilt & SOLID architecture
  • Uses compose for view layer, ViewModel and mutableState to send UI events
  • Infinite scroll using Compose (not recyclerview)
  • Uses PhotoView in an AndroidView from Compose
  • Uses Resource sealed class to handle errors and messaging
  • Coil image loading
  • Simplified type-safe Navigation using raamcosta Compose Destinations
  • Retrofit for access to Pixabay API

To install the Apk:

  1. Open this link on your Android device: https://github.com/realityexpander/PixabayApp/blob/master/PixabayApp_1.0.apk

  2. Tap the "skewer" menu and tap the "download"

  3. Allow the file to download (DO NOT click "show details")

  4. After the file is downloaded, click "OK" to install

  5. Click "OK" to install

  6. Click "OK" to launch

If you have developer options turned on, you may need to turn off "USB Debugging" if the "Waiting for debugger" dialog is displayed.

About

Pixabay Sample App using Compose, Pixabay API, off-line caching

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages