📜  android kotlin timer - Kotlin 代码示例

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

代码示例1
val timer = object: CountDownTimer(20000, 1000) {
    override fun onTick(millisUntilFinished: Long) {...}

    override fun onFinish() {...}
}
timer.start()