get a random image and make a random url code example
Example: execute random image and get from url
int i = (int)(myArrayList.size() * Math.random()) //you can get the random index
String url = myArrayList.remove(i), //then you can remove that variable from list