SublimePicker is amazing but it's so difficult to use without good documentation. I have figured out some stuff but I am having the following problems:
Is there a way to only allow users to choose current and future dates (not past dates) ?
I have tried to use setDateParams(Calendar startCal, Calendar endCal) method, but it doesn't do anything
Is there a way to disable the "repeat Options" button. it disappears when using setPickerToShow(SublimeOptions.Picker.DATE_PICKER); option but I also want to have a time picking option together with the date so when I addsetPickerToShow(SublimeOptions.Picker.TIME_PICKER); The app crashes with the following exception: The picker you have requested to show(DATE_PICKER) is not activated. Use setDisplayOptions(int) to activate it, or use an activated Picker with setPickerToShow(Picker). and I have used SetDisplayOptions method but it doesn't work.
Is there a way to change the theme of the Dialogue?
Thanks in advance. Also, let me know if there is another good option for android range date and time picker.
Old issue but I don't want anyone else having trouble with this like I did:
To answer your first question:
(Kotlin): sublimeOptions.setDateRange(Date().time, Long.MIN_VALUE)
SublimePicker is amazing but it's so difficult to use without good documentation. I have figured out some stuff but I am having the following problems:
Is there a way to only allow users to choose current and future dates (not past dates) ? I have tried to use
setDateParams(Calendar startCal, Calendar endCal)
method, but it doesn't do anythingIs there a way to disable the "repeat Options" button. it disappears when using
setPickerToShow(SublimeOptions.Picker.DATE_PICKER);
option but I also want to have a time picking option together with the date so when I addsetPickerToShow(SublimeOptions.Picker.TIME_PICKER);
The app crashes with the following exception:The picker you have requested to show(DATE_PICKER) is not activated. Use setDisplayOptions(int) to activate it, or use an activated Picker with setPickerToShow(Picker).
and I have used SetDisplayOptions method but it doesn't work.Is there a way to change the theme of the Dialogue?
Thanks in advance. Also, let me know if there is another good option for android range date and time picker.