Skip to content

dotfeng/PhotoView

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

207 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhotoView

Implementation of ImageView for Android that supports zooming, by various touch gestures.

Sample with Android-Universal-Image-Loader https://github.com/nostra13/Android-Universal-Image-Loader

    PhotoView photoView = (PhotoView) findViewById(R.id.iv_photo);

    if (!ImageLoader.getInstance().isInited()) {
        ImageLoaderConfiguration config = new ImageLoaderConfiguration
			.Builder(getApplicationContext()).build();
        ImageLoader.getInstance().init(config);
    }

    ImageLoader.getInstance().displayImage(
		"http://pbs.twimg.com/media/Bist9mvIYAAeAyQ.jpg", photoView);
    <uk.co.senab.photoview.PhotoView
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/iv_photo"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"/>

About

Implementation of ImageView for Android that supports zooming, by various touch gestures.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 100.0%