Fixed missing progress bar on position update

This commit is contained in:
ByteHamster 2019-10-03 23:24:27 +02:00
parent 1d12f414e4
commit 194b815570
1 changed files with 1 additions and 0 deletions

View File

@ -209,6 +209,7 @@ public class FeedItemlistAdapter extends BaseAdapter {
return; return;
} }
Holder holder = (Holder) view.getTag(); Holder holder = (Holder) view.getTag();
holder.episodeProgress.setVisibility(View.VISIBLE);
holder.episodeProgress.setProgress((int) (100.0 * event.getPosition() / event.getDuration())); holder.episodeProgress.setProgress((int) (100.0 * event.getPosition() / event.getDuration()));
holder.lenSize.setText(Converter.getDurationStringLong(event.getDuration() - event.getPosition())); holder.lenSize.setText(Converter.getDurationStringLong(event.getDuration() - event.getPosition()));
} }