说下面的代码“ onTick”方法需要被钩住:
public void test() {
new CountDownTimer(30000, 1000) {
public void onTick(long millisUntilFinished) {
Log.d(TAG,"seconds remaining: " + millisUntilFinished / 1000);
}
public void onFinish() {
Log.d(TAG,"done!");
}
}.start();
}
CountDownTimer类定义为抽象。如何在Xposed上挂钩onTick方法?