title: How to avoid random strings from appearing repeatedly
body: <p>I like to display some strings from a string array in to a Textview, randomly. I am using the following code for that, But the problem is that most of the time some string is displayed repeatedly.What I want is the strings once displayed should not be displayed again.I have spent hours in searching for the code, but none of them work for me. Kindly help. Thanks in advance.</p>
  
  <pre><code>public void GetQuotes(View view) {
       Resources res = getResources();
              myString = res.getStringArray(R.array.Array);
              String q = myString[rgenerator.nextInt(myString.length)];                               
              TextView tv = (TextView)findViewById(R.id.textView1);               
              tv.setText(q);  
  </code></pre>