I am using Android\'s default date picker and my min supported SDK is 10 and I want to set the min and the max dates of the date picker.
Here is what I have in my M
In the default DatePicker
of iOS it provides the feature of setting min. and max. date for the Date picker. The same feature is also available in Android application development but it is available for Android API 11 and above. It means that the feature of min and max date range won’t work in devices below Android API 11.
To overcome this kind of issue and to support this feature in all the Android devices including devices below Android API 11, we had to extend the “DatePickerDialog” class for providing the facility of setting the min and max date range that can be selected. Check the link given below-
How to make a Custom DatePicker control with maximum and minimum date range in Android application
For explanation of the implementation please check below link-
Explain the implementation of Custom DatePicker in our application