I create one simple image banner apps in which I use the viewflipper for swipe image one by one. My apps run very well but the first image is repeated two time. Here I use the image array and apply in view flipper.
The Array is:
int imageDrawable[] = new int[]{R.drawable.advanturestorybanner_ipad_landscap,
R.drawable.femouspeopleofthebiblebanner_ipad_landscap,
R.drawable.littlebanner_ipad_landscap,
R.drawable.thechildrenbiblebanner_ipad_landscap,
R.drawable.thecomicbookbiblebanner_ipad_landscap,
R.drawable.thehandybiblebanner_ipad_landscap };
bannerImageView.setBackgroundResource(imageDrawable[j]);