I'm trying to make Loop on image swipe view, this is the source image that I'm using. How can I continue swipe the image after the last one it turns to the beginning one. Thanks
private class ImagePagerAdapter extends PagerAdapter {
private int[] mImages = new int[] {
    R.drawable.image1,
    R.drawable.image2,
    R.drawable.image3,
    R.drawable.image4,
};
 
     
     
    