1

问题是:“令牌“开始”上的语法错误,此令牌后应有标识符“-----在第一次启动时。(loadingAnimation.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;
}});
4

0 回答 0