Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

This is a library to help developer faster on view an image full screen which has some gesture like double tap to zoom, span, zoom in/out, move.

Notifications You must be signed in to change notification settings

sw-code/full-screen-image-view

 
 

Repository files navigation

full-screen-image-view-library

Build Status

This is a library to help developer faster on view an image full screen which has some gesture like double tap to zoom, span, zoom in/out, move. Fork of tntkhang/full-screen-image-view, migrated to AndroidX and Jetpack.

FullScreenImageViewGIF

Setup

  1. Dependency
implementation 'io.swcode:full-screen-image-view:1.0.0'
  1. Call open a FullScreenImageViewActivity and sent some appropriate data.
Intent fullImageIntent = new Intent(MainActivity.this, FullScreenImageViewActivity.class);
// uriString is an ArrayList<String> of URI of all images
fullImageIntent.putExtra(FullScreenParameter.URI_LIST_DATA, uriString);
// pos is the position of image will be showned when open
fullImageIntent.putExtra(FullScreenParameter.IMAGE_FULL_SCREEN_CURRENT_POS, pos);
// toolbar back navigation icon
fullImageIntent.putExtra(FullScreenParameter.IMAGE_FULL_SCREEN_BACK_BUTTON, R.drawable.ic_back_button);
startActivity(fullImageIntent);

About

This is a library to help developer faster on view an image full screen which has some gesture like double tap to zoom, span, zoom in/out, move.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Java 100.0%