我正在使用handler.postDelayed方法为一些动画内容创建一些延迟。像这样:
Handler h = new Handler();
h.postDelayed(new Runnable() {
@Override
public void run() {
// Start Animation.
}
}, 6000);
后来,我怎样才能得到动画开始之前的剩余时间?
我正在使用handler.postDelayed方法为一些动画内容创建一些延迟。像这样:
Handler h = new Handler();
h.postDelayed(new Runnable() {
@Override
public void run() {
// Start Animation.
}
}, 6000);
后来,我怎样才能得到动画开始之前的剩余时间?