Skip to content

UGImageViewer is full image view library with built-in zooming effects to each image with image slider.

License

Notifications You must be signed in to change notification settings

haseebazeem15/UGImageViewer

Repository files navigation

UGImageViewer

UGImageViewer is full image view library with built-in zooming effects to each image with image slider.

Description

UGImageViewer allows you to display your images in full sliding view with zooming effects. It supports HTTPS image loading as well as local image URIs.

Demo

Minimum API LEVEL

UGImageViewer is compatible with API LEVEL 19 or above.

Installation

  1. Use jitpack in your build.gradle file to install UGImageViewer.
allprojects {
 repositories {
   maven { url 'https://jitpack.io' }
 }
}

Gradle

dependencies {
   implementation 'com.github.haseebazeem15:UGImageViewer:1.0'
}

Usage

Create this GifImageView element in your layout xml file:

  // Create Image Path/URI Array List
  ArrayList<String> arrayList = new ArrayList<>();
  arrayList.add("IMAGE_PATH_1");
  arrayList.add("IMAGE_PATH_2");

  // Call builder to display ImageViewer
  UGImageViewer.Builder(this, arrayList).show();

UGImageViewer Builders:

// Using ArrayList<String>
UGImageViewer.Builder(this, arrayList).show();

// Using ArrayList<Uri>
UGImageViewer.Builder(this, arrayList).show();

// or using image postition in adapter
UGImageViewer.Builder(this, arrayList, position).show();

Libraries Used

UGImageViewer is using my own ZImageView Library (for zooming effect) and Picasso (for Image Loading)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

UGImageViewer is full image view library with built-in zooming effects to each image with image slider.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages