I have a datepicker which disables past dates. For my application, for example, user must be able to select only particular dates. The other dates must be disabled for selection. I do not want to validate after selection.
Asked
Active
Viewed 758 times
2
-
http://stackoverflow.com/a/30844534/4447803 try lik this – Android Dev Jun 25 '15 at 08:42
-
This is a good question. Apparently it is not possible, might be worth adding for a future release. – cgew85 Jun 25 '15 at 08:48
1 Answers
0
It's not possible, the best we could do is set Max and Min date for the date picker... Or maybe you could create your own custom date picker to enable this.(Using NumberPicker for example)

fchristysen
- 208
- 1
- 10