jeudi 2 juillet 2015

pull random string from array, only once

I have a program that uses Random to generate a random number to select a string from an array. What I want to do is avoid the same string from being selected twice! I also want to store the entire list of pulled random strings and be able to clear them when needed. Any help is appreciated.

My random string is displayed in a textView.




Aucun commentaire:

Enregistrer un commentaire