I\'m in a particular situation in which I have to alter the min and max date of DatePicker according to the selected element of a Spinner. Here\'s
DatePicker
Spinner
first update setMinDate to 0 after then setMinDate according to you dateobject
mPicker.setMinDate(0);
mPicker.setMinDate(datepickerObject.getTimeInMillis());