/kGallery

Primary LanguageKotlinApache License 2.0Apache-2.0

KGallery

Offline-first Android app that shows a list of images fetched from a REST API, with the ability to modify captions for every image, locally add new images from the device gallery, and resize images while maintaining their aspect ratios.

Screens

Features

  • load images from Marvel API
  • store and cache images and their caption locally using Room DB
  • allow user to add images from gallery
  • allow user to share images into app thorugh share intent

Todo

  • [] use TinyPng api to reseize the images
  • [] allow user to save image with caption locally
  • [] enhance UI by provide more updates to user while updating.

How to use

  • clone the repo
  • add keys at build.gradle. kts for app
        debug {
-            buildConfigField("String", "MARVEL_PRIVATE_KEY", "\"\"")
-            buildConfigField("String", "MARVEL_PUBLIC_KEY", "\"\"")
+           buildConfigField("String", "MARVEL_PRIVATE_KEY", "\"your public key\"")
+            buildConfigField("String", "MARVEL_PUBLIC_KEY", "\"your private\"")
        }

NOTE: please notice that i swaped the values.