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
prjcts.size();
I mentioned in your other question how to do this..
List list = new ArrayList(); int jsonMax = prjcts.size(); for(int i = 1; i<=jsonMax; i++) list.add(i); Collections.shuffle(list); for(int i=0; i