Merge pull request #4412 from asdoi/playback_upates

Update skip/forward TextViews of AudioPlayerFragment
This commit is contained in:
H. Lehmann 2020-09-09 22:20:09 +02:00 committed by GitHub
commit 25d2290643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -126,8 +126,6 @@ public class AudioPlayerFragment extends Fragment implements
setupLengthTextView();
setupControlButtons();
setupPlaybackSpeedButton();
txtvRev.setText(NumberFormat.getInstance().format(UserPreferences.getRewindSecs()));
txtvFF.setText(NumberFormat.getInstance().format(UserPreferences.getFastForwardSecs()));
sbPosition.setOnSeekBarChangeListener(this);
pager = root.findViewById(R.id.pager);
@ -379,6 +377,8 @@ public class AudioPlayerFragment extends Fragment implements
controller.init();
loadMediaInfo();
EventBus.getDefault().register(this);
txtvRev.setText(NumberFormat.getInstance().format(UserPreferences.getRewindSecs()));
txtvFF.setText(NumberFormat.getInstance().format(UserPreferences.getFastForwardSecs()));
}
@Override