Avoid DatePickerDialog calls onDateSet two times
Posted onDatePickerDialog While working with DatePickerDialog, I see an issue when setting a date and click done button. Its calling onDateSet method two times. here is a simple solution for it. DatePicker parameter object has a method called isShown(). Place method statements in the if condition of isShown(), which avoids calling onDateSet method statements two times. @Override […]