title: Android CountDownTimer shows 1 for two seconds
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4824068/how-come-millisuntilfinished-cannot-detect-exact-countdowntimer-intervals">How come millisUntilFinished cannot detect exact CountDownTimer intervals?</a>  </p>
  </blockquote>
  
  
  
  <p>Why does using the <a href="http://developer.android.com/reference/android/os/CountDownTimer.html" rel="noreferrer">CountDownTimer</a> show "1" twice? I just want it to countdown smoothly and not look like it is getting hung up on the last second. Anybody have any ideas on how to solve this problem??</p>
  
  <p>Here is the code from the Android Developers page:</p>
  
  <pre><code>  new CountdownTimer(30000, 1000) {
  
       public void onTick(long millisUntilFinished) {
           mTextField.setText("seconds remaining: " + millisUntilFinished / 1000);
       }
  
       public void onFinish() {
           mTextField.setText("done!");
       }
    }.start();
  </code></pre>
  
  <p>I created a new project and copied and pasted this code in just to make sure that I wasn't accidentally messing something up in my program. I've been testing this on a Tab 10.1. It does this when I run it: "5", "4", "3", "2", "1", "1", "done!".</p>