ImagesPreview
himangipatel
19
Visit GitHub RepoImage 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 a better Android Developer
Millions of developers are learning at MindOrks

Online Training Program

Featured Blogs

Our Team

MindOrks is Certainly one of the best online blog to stay on top of all the Android development news, coding and design patterns. Finally a blog I can count on to keep myself updated with latest and greatest things happening in Android world.

Vipul Shah
Android Developer
Microsoft

Become Pro in Android by watching videos

OUR LEARNERS WORK AT