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

View File

@ -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()));
}