问题是: “令牌上的语法错误”start“,此标记后的标识符”------在第一个星号上。“(加载Animation.start();
new CountDownTimer(30000, 1000) {
public void onTick(long millisUntilFinished) {
AnimationDrawable loadingAnimaton;
loadingAnimation = (AnimationDrawable) ImageView.getBackground();
}loadingAnimation.start();
public void onFinish() {
mTextField.setText("done!");
}
}.start();
return true;
}});