Animate states changed
This commit is contained in:
parent
a82023415c
commit
23dcbea8ec
16 changed files with 113 additions and 22 deletions
|
|
@ -1287,7 +1287,7 @@ public class VideoDetailFragment
|
|||
.subscribe(state -> {
|
||||
final int seconds = (int) TimeUnit.MILLISECONDS.toSeconds(state.getProgressTime());
|
||||
positionView.setMax((int) info.getDuration());
|
||||
positionView.setProgress(seconds);
|
||||
positionView.setProgressAnimated(seconds);
|
||||
detailPositionView.setText(Localization.getDurationString(seconds));
|
||||
animateView(positionView, true, 500);
|
||||
animateView(detailPositionView, true, 500);
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ public abstract class BaseListFragment<I, N> extends BaseStateFragment<I> implem
|
|||
updateFlags = 0;
|
||||
}
|
||||
|
||||
infoListAdapter.updateStates();
|
||||
itemsList.post(infoListAdapter::updateStates);
|
||||
}
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue