标签:rri schedule new cost time timer use void ide
Timer timer = new Timer();
timer.schedule(new TimerTask() {
@Override
public void run() {
if (!stop) {
Log.i(TAG, "exit because of costTime.");
stop = true;
}
}
}, costTime);
标签:rri schedule new cost time timer use void ide
原文地址:http://www.cnblogs.com/muhe221/p/7815327.html