Can't Access Datepicker.validationcallback In My Code
I have a simple DatePickerFragment that extends DialogFragment. I'm wanting to set a validation callback so I can prevent 'OK' being selected if an invalid date is picked. I firs
Solution 1:
That was introduced around API version 21. If you MinSDK is lower you won't have visibility to that feature.
However I just tested this by creating a sample project from scratch setting the min/max SDK to 22 and I still don't have visibility to that method. Potentially this is a bug in Android Studio.
Post a Comment for "Can't Access Datepicker.validationcallback In My Code"