title: How to set the text of a TextView from Java
body: <p>I need to randomize the text of a <code>TextView</code>.</p>
  
  <p>I know how to randomize the stuff with the following example:</p>
  
  <pre><code>String[] epicstring={"a", "b", "c", "d", "e"};
  Random r=new Random();
  int randomnumber= r.nextInt(epicstring.length);
  System.out.println(epicstring[randomnumber]);
  </code></pre>
  
  <p>I want to output the text into a <code>TextView</code>, but how can I do that?</p>