setImage(cachedImage1, image1, prjcts.get(x)); setImage(cachedImage2, image2, prjcts.get(x); setImage(cachedImage3, image3, prjcts.get(x));
I need to replace x from prjcts.get(x) with a random number between 1 until the maximum entry on my JSON file. The maximum number should be felxible, I can add and delete the entry as much as I want. And one more thing, the numbers aren't allowed to be the same between each other.
Can anybody help me with this?
Thank you very much.