Correctly save stream progress at the end of a video
This commit is contained in:
parent
70c33b64e9
commit
f07eaa13d5
13 changed files with 74 additions and 92 deletions
|
|
@ -1669,7 +1669,7 @@ public final class VideoDetailFragment
|
|||
.onErrorComplete()
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(state -> {
|
||||
showPlaybackProgress(state.getProgressTime(), info.getDuration() * 1000);
|
||||
showPlaybackProgress(state.getProgressMillis(), info.getDuration() * 1000);
|
||||
animate(binding.positionView, true, 500);
|
||||
animate(binding.detailPositionView, true, 500);
|
||||
}, e -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue