use of de.westnordost.streetcomplete.view.dialogs.RangePickerDialog in project StreetComplete by westnordost.
the class AddOpeningHoursAdapter method openSetMonthsRangeDialog.
private void openSetMonthsRangeDialog(CircularSection months, RangePickerDialog.OnRangeChangeListener callback) {
String[] monthNames = DateFormatSymbols.getInstance().getMonths();
String selectMonths = context.getResources().getString(R.string.quest_openingHours_chooseMonthsTitle);
new RangePickerDialog(context, callback, monthNames, months.getStart(), months.getEnd(), selectMonths).show();
}
Aggregations