xposed-在CountDownTimer类中挂钩抽象方法“ onTick”

时间:2019-12-08 02:56:04

标签: xposed

说下面的代码“ 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方法?

0 个答案:

没有答案