Merge pull request #3489 from ByteHamster/fix-progress-bar-missing

Fixed missing progress bar on position update
This commit is contained in:
H. Lehmann 2019-10-04 10:55:08 +02:00 committed by GitHub
commit 37304b2e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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