{"id":32719093,"url":"https://github.com/mayuce/imagestackviewer","last_synced_at":"2025-11-02T18:03:19.598Z","repository":{"id":45351283,"uuid":"280517723","full_name":"mayuce/ImageStackViewer","owner":"mayuce","description":"This library provides an activity to show list of images in full screen with pinch to zoom support.","archived":false,"fork":false,"pushed_at":"2021-12-18T20:20:37.000Z","size":1739,"stargazers_count":20,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-31T02:47:49.271Z","etag":null,"topics":["android","android-library","kotlin","library"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mayuce.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-17T20:20:58.000Z","updated_at":"2024-04-13T01:27:17.000Z","dependencies_parsed_at":"2022-07-20T15:32:29.307Z","dependency_job_id":null,"html_url":"https://github.com/mayuce/ImageStackViewer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mayuce/ImageStackViewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayuce%2FImageStackViewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayuce%2FImageStackViewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayuce%2FImageStackViewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayuce%2FImageStackViewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mayuce","download_url":"https://codeload.github.com/mayuce/ImageStackViewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayuce%2FImageStackViewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282332561,"owners_count":26652047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-02T02:00:06.609Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-library","kotlin","library"],"created_at":"2025-11-02T18:02:29.907Z","updated_at":"2025-11-02T18:03:19.592Z","avatar_url":"https://github.com/mayuce.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ImageStackViewer\nThis library provides an activity to show images\n\nimage::https://img.shields.io/:license-Apache%202.0-yellowgreen.svg[]\n\nimage::https://img.shields.io/badge/version-1.1.0-green.svg[]\n\nimage::https://img.shields.io/badge/minSDK-19-blue.svg[]\n\n## Preview\n\nimage::assets/stackIV.gif[200,300]\n\n## Requirements\n\nAdd line below to your *top* level build.gradle\n\n[source,bourne]\n----\nallprojects {\n    repositories {\n        /// ....\n        maven { url \"https://jitpack.io\" }\n    }\n}\n----\n\nAdd lines below to your *app* level build.gradle\n\n[source,bourne]\n----\n    implementation \"androidx.viewpager2:viewpager2:1.0.0\"\n    implementation 'com.github.bumptech.glide:glide:4.11.0'\n    implementation 'com.jsibbold:zoomage:1.3.1'\n    implementation 'com.github.mayuce:ImageStackViewer:1.1.0'\n----\n\nAnd Sync the gradle\n\n## Usage\n\n[source,kotlin]\n----\n    ....\n        companion object {\n        private const val TEST_URL =\n            \"test.png\"\n\n        private const val TEST_URL_2 =\n            \"test2.png\"\n    }\n    ...\n    \n    StackImageViewer.openStackViewer(\n                activity = this,\n                list = listOf(\n                    ImageData(ResourceType.UrlResource(TEST_URL)),\n                    ImageData(ResourceType.AppResource(R.drawable.ic_launcher_foreground)),\n                    ImageData(ResourceType.UrlResource(TEST_URL_2)),\n                    ....\n                ), selectedItemPose = 1, view = imageView\n            )\n----\n\nIf you don't want to *makeSceneTransitionAnimation* don't pass the imageView.\nselectedItemPose parameter defines which image should show first when view initialized.\n\nThere is 3 type of images supportes. These are *app resource, URL \u0026 Base64*.\n\n## TO-DO\n\n- Changing background color with image. [Added with v1.1.0 by link:https://github.com/faranjit[@faranjit]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayuce%2Fimagestackviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayuce%2Fimagestackviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayuce%2Fimagestackviewer/lists"}