title: Update TextView with each string in String-array every 5 seconds
body: <p>I have a <code>TextView</code> and I would like to update the <code>TextView</code> every 5 second with each string in my String Array.</p>
  
  <p>Here is the code I tried. It always shows only the last String in the String array.</p>
  
  <pre><code>TextView display;
  EditText caption;
  Thread thread;
  String blinks;
  String[] wc;
  private CountDownTimer timer;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
  
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      display = (TextView) findViewById(R.id.display);
      caption = (EditText) findViewById(R.id.caption);
  
      timer = new CountDownTimer(5000, 20) {
  
          @Override
          public void onTick(long millisUntilFinished) {
  
              String[] wc = {"The","Qucik", "Brown","fox","Jumped"};
              for (int j = 0; j &lt; wc.length; j++) {
  
                  blinks = wc[j];
                  final String[] titles = {"" + blinks + ""};
  
                  for (int i = 0; i &lt; titles.length; i++) {
                      display.setText(titles[i]);
                  }
  
              }
  
  
          }
  
          @Override
          public void onFinish() {
              try{
                  yourMethod();
              }catch(Exception e){
  
              }
          }
      }.start();
  }
  </code></pre>