how to generate a random image using 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