material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

[TimePicker] Minutes intervals

Open sebastienrieu opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Not yet existing feature

Describe the solution you'd like In the MaterialTimePicker the possibility to add a positive integer for minutes interval. For exemple 15 if we only want the user to can select quarters of an hour.

Describe alternatives you've considered

Additional context

We also happily accept pull requests.

sebastienrieu avatar Dec 04 '20 08:12 sebastienrieu

Any updates on this?? This feature would help a lot

raqfc avatar Jun 22 '22 18:06 raqfc

One year later, any updates??

flo-Francis-Collins avatar Jul 06 '23 19:07 flo-Francis-Collins

Any update on this feature ?

axitasavani avatar Sep 13 '23 05:09 axitasavani

This would be nice to have! I've been updating one of my apps to use these dialogs but I kind of need this to match how I had my old TimePicker dialogs from a different library.

Looks like it should be possible to do as it'd just have to behave the same as the hour hand currently does?
Only difference would be toggling the number views to match what you can actually select.

I mainly need options for:

  • No Interval
  • 5 Mins
  • 10 Mins
  • 15 Mins
  • 30 Mins
  • 60 Mins (So the user can only pick an hour)

mikeee324 avatar Sep 20 '23 11:09 mikeee324