首页 > 系统 > Android > 正文

android子线程操作ui

2019-11-11 06:14:38
字体:
来源:转载
供稿:网友

PRivate final Activity activity;

activity.runOnUiThread(updateTimeRunnable);

private Runnable updateTimeRunnable = new Runnable() {   @Override   public void run() {      if (mpegListener != null) {         mpegListener.onFFUpdateTime(mCurrentTimeUs,               mVideoDurationUs, mIsFinished);      }   }};


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表