标签:hand handle new col div current isp style roi
final Handler handler = new Handler(); Runnable runnable = new Runnable() { public void run() { int duration = mVideoView.getCurrentPosition(); if(mVideoView.isPlaying()){ if (old_duration == duration) { mProgressBar.setVisibility(View.VISIBLE); } else { mProgressBar.setVisibility(View.GONE); } } old_duration = duration; handler.postDelayed(runnable, 500); } };
handler.postDelayed(runnable, 0);
标签:hand handle new col div current isp style roi
原文地址:http://www.cnblogs.com/rchao/p/7483930.html