can anybody help me in making a method to generate random number without repetition in Android?
The maximum number is: prjcts.size(); it\'s my JSON Array. And t
For what its worth, you could try using the Mersenne Twister algorithm, which has a Java implementation of it here. The Mersenne Twister is a random number generator which has a period of 2^19937 − 1, so you're pretty much guaranteed to not get the same random number.