Fixed missing progress bar on position update
This commit is contained in:
parent
1d12f414e4
commit
194b815570
|
@ -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()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue