private void countDownTimer() {
new CountDownTimer(60000, 1000) {
public void onTick(long millisUntilFinished) {
countdown.setText( String.format(Locale.getDefault(), "%02d:%02d", minute, millisUntilFinished / 1000));
}
public void onFinish()
{
resend.setVisibility(View.VISIBLE);
}
}.start();
}
0 Comments