Merge pull request #3489 from ByteHamster/fix-progress-bar-missing
Fixed missing progress bar on position update
This commit is contained in:
commit
37304b2e2e
|
@ -209,6 +209,7 @@ public class FeedItemlistAdapter extends BaseAdapter {
|
|||
return;
|
||||
}
|
||||
Holder holder = (Holder) view.getTag();
|
||||
holder.episodeProgress.setVisibility(View.VISIBLE);
|
||||
holder.episodeProgress.setProgress((int) (100.0 * event.getPosition() / event.getDuration()));
|
||||
holder.lenSize.setText(Converter.getDurationStringLong(event.getDuration() - event.getPosition()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue