Open GoogleCodeExporter opened 8 years ago
Sorry this seems to be an Android bug not something you're doing.
Original comment by bashee...@gmail.com
on 13 Feb 2013 at 5:43
For those interested, calling datepicker.clearFocus()/timepicker.clearFocus()
when the OK button is clicked solves this problem. Looking at the
DatePickerDialog code helped me figure it out.
Original comment by bashee...@gmail.com
on 13 Feb 2013 at 9:23
For Android L its not updating the UI. but for Kitkat i have checked it works
fine. is this the android Bug? or any other work around to fix this issue?
Solution: I have tried----> DatePicker datePicker = (DatePicker)
mDateTimeDialogView.findViewById(R.id.DatePicker);
// Init time picker
TimePicker timePicker = (TimePicker) mDateTimeDialogView.findViewById(R.id.TimePicker);
datePicker.clearFocus();
timePicker.clearFocus();
then getting the values for Day, Year Month then its working!!!
But from DateTimePicker.class get(Calender.Year) not working!!! pls help.
Original comment by shishram...@gmail.com
on 23 Dec 2014 at 5:48
Original issue reported on code.google.com by
bashee...@gmail.com
on 13 Feb 2013 at 5:20