📜  如何停止倒计时? - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:32.107000             🧑  作者: Mango

代码示例2
CountDownTimer yourCountDownTimer = new CountDownTimer(zaman, 1000) {                    
    public void onTick(long millisUntilFinished) {}

    public void onFinish() {}

    }.start();

yourCountDownTimer.cancel();