我在kotlin中尝试最多60秒的记录
object : CountDownTimer(60000,1000) {
override fun onFinish(){
timeText.text = "Time's Fİnish!"
handler.removeCallbacks(runnbale)
for (button2 in runnable ){
button2.stop()
}
}
}
我在对象和可运行的
上收到错误Error:(70, 13) Object is not abstract and does not implement abstract
base class member public abstract fun onTick(p0: Long): Unit defined in
android.os.CountDownTimer
Error:(75, 37) Unresolved reference: runnable