Fix selected announcement time
This commit is contained in:
parent
3000aadcc8
commit
bf398ef0cc
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ public class AnnouncementTimeBottomSheet extends BasePreferenceBottomSheet
|
||||||
tvIntervalsDescr = rootView.findViewById(R.id.tv_interval_descr);
|
tvIntervalsDescr = rootView.findViewById(R.id.tv_interval_descr);
|
||||||
|
|
||||||
seekBarArrival.setOnSeekBarChangeListener(this);
|
seekBarArrival.setOnSeekBarChangeListener(this);
|
||||||
|
seekBarArrival.setProgress(selectedEntryIndex);
|
||||||
seekBarArrival.setMax(listPreference.getEntries().length - 1);
|
seekBarArrival.setMax(listPreference.getEntries().length - 1);
|
||||||
rootView.findViewById(R.id.description_container).setOnClickListener(new View.OnClickListener() {
|
rootView.findViewById(R.id.description_container).setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue