MahmoudMabrok / kGallery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:Apache License 2.0


Languages

Language:Kotlin 100.0%