Android-SwitchDateTimePicker
Android-SwitchDateTimePicker copied to clipboard
How To set Minimum and Maximum Time.
For My Application I Have given user to select booking date time . The Date Should be Current Date or Next Date ,which i can easily set using setMinimumDateTime and setMaximumDateTime . But for Time minimum time should not be less than current time and max time should not be greater than current time + 24 hrs . how should i set minimum and maximum time as well. because setMinimumDateTime and setMaximumDateTime only set Constraint on date not time. How can i perform this task .
This feature isn't implemented yet, the view of times must be redone to gray out the hours and minutes that are not available depending on the date. You can contribute with a pull request, because it requires a significant development time. If you need this feature quickly, you can leave me an email (visible in my profile).
can you provide source code related to set minimum and maximum time ?