I using xamarin android, there is date picker which crash when running some devices with android 7.0 with security patch may 2017. Mostly if found in samsung. Following is the code to open datepicker. Can any one help how to fix this issue.
var dailog = new DatePickerDialog(this, HandleDateSet, CutOffDate.Year,CutOffDate.Month - 1, CutOffDate.Day);
dailog.DatePicker.CalendarViewShown = true;
dailog.DatePicker.SpinnersShown = false;
return dailog;