ImagesPreview
himangipatel
19
Visit GitHub Repo
Image Views

ImagesPreview

Developed by

Himangi Patel

Features

Easy to Use.
Gallery view
Share and Save functionality

Installation

Add repository url and dependency in application module gradle file:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

dependencies {
      compile 'com.github.himangipatel:ImagesPreview:0.0.5'
}

Usage

1. Start by creating an instance of FilePickUtils and LifeCycleCallBackManager.

            final ArrayList<PreviewFile> previewFiles = new ArrayList<>();
	     previewFiles.add(new PreviewFile(image path,image description));
	     
            Intent intent = new Intent(AppointmentDetailActivity.this, ImagePreviewActivity.class);
            intent.putExtra(ImagePreviewActivity.IMAGE_LIST, previewFiles);
            intent.putExtra(ImagePreviewActivity.CURRENT_ITEM, position);
            startActivity(intent);

Become Pro in Android by watching videos

OUR LEARNERS WORK AT