How do i loop this array, so that I do not have to write out 100 lines of images. I know it’s simmple
private String[] pics = {
//want to loop these
Constants.BASE_URL+"/bg/a/A1.jpg",
Constants.BASE_URL+"/bg/a/A2.jpg",
Constants.BASE_URL+"/bg/a/A3.jpg",
Constants.BASE_URL+"/bg/a/A4.jpg",
Constants.BASE_URL+"/bg/a/A5.jpg",
Constants.BASE_URL+"/bg/a/A6.jpg",
//
};
If you are using array then
I hope this what you looking for.