这里我有一个CountDownTimer,我想启动它,然后在一个无限的循环中重新启动,我不知道为什么它不能工作: editor.putLong("time2",xtime+prefs.getLong("time2",0));
new CountDownTimereditor2.putLong("time"
,这是我的问题:,我运行一个间隔为5s的CountDownTimer,运行时间为30。当它运行时,我为每个间隔做一个活动。如果活动返回正结果,我将停止计时器。如果计时器结束,我会宣布它为失败。我不知道如何使用CountDownTimer或Timer?也许你知道?countDown timer = new countDown(30000, 5000); }
public class countDown extends CountDownTimermillisUntilFinished)