title: Countdown using handler.postDelayed not working
body: <p>It seems that postDelayed is not waiting.  I'm running this inside a Fragment.</p>
  
  <pre><code>// count down
  mCounterTextView.setText(Integer.toString(sCountDownFrom));
  final Handler handler = new Handler();
  for(int i = (sCountDownFrom-1); i &gt;= 0; i--) {
      final int index = i;
      Log.d("ZoneHelp", "countdown: " + Integer.toString(index));
      handler.postDelayed(new Runnable() {
          @Override
          public void run() {
              // do this after the delay
              mCounterTextView.setText(Integer.toString(index));
          }
      }, 1000); // 1 second counter
  }
  </code></pre>
  
  <p>when I run this it the three logs (2,1,0) print out immediately and I don't get the affect I'm hoping for.  </p>