stopTimer static method
void
stopTimer()
停止定时器*
Implementation
static void stopTimer() {
if (timer != null) {
Log.i(tag, "stopTimer");
timer!.cancel();
timer = null;
}
}
停止定时器*
static void stopTimer() {
if (timer != null) {
Log.i(tag, "stopTimer");
timer!.cancel();
timer = null;
}
}