florent37 / SingleDateAndTimePicker

You can now select a date and a time with only one widget !
Apache License 2.0
1.02k stars 333 forks source link

Minute Range #283

Open scally-p opened 4 years ago

scally-p commented 4 years ago

Is there a way to set minute range? eg. multiples of 5...(00, 05, 10, 15 etc)

SSharyk commented 3 years ago

Yes, you can use minutesStep component of the builder. E.g.:

val dialog = SingleDateAndTimePickerDialog.Builder(context)
                .minutesStep(5)
                .build()