Image Pager is an Android widget, Implementation of ViewPager for Android that supports sliding to change picture, zooming picture by various touch gestures.
-
It extends ViewPager, so it works like a ViewPager
-
Load image from Resource, External Storage or the Internet
-
With memory cache and disk cache supported
-
Required minimum API level: 14(Android 4.0)
-
Supports all the screens sizes and density.
dependencies {
compile 'com.celerysoft:imagepager:2.2.0'
}
Add the ImagePager to your layout
<com.celerysoft.imagepager.ImagePager
android:id="@+id/image_pager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
Create an adapter for the ImagePager, you can see it in the demo.