|
@@ -793,7 +793,10 @@ public class MusicHandleActivity_ extends BaseMVPActivity<AcMusicHandleLayoutBin
|
|
int maxProgress = viewBinding.seekPlay.getMax();
|
|
int maxProgress = viewBinding.seekPlay.getMax();
|
|
int percent = (int) ((progress * 1.0f / getAudioTotalDuration()) * maxProgress);
|
|
int percent = (int) ((progress * 1.0f / getAudioTotalDuration()) * maxProgress);
|
|
// LOG.i("pq", "setRecordProgress percent:" + percent);
|
|
// LOG.i("pq", "setRecordProgress percent:" + percent);
|
|
- viewBinding.seekPlay.setProgress(percent);
|
|
|
|
|
|
+ if(!viewBinding.seekPlay.isPressed()){
|
|
|
|
+ //拖拽的时候不更新
|
|
|
|
+ viewBinding.seekPlay.setProgress(percent);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
private void setDurationText() {
|
|
private void setDurationText() {
|