Saturday, June 26, 2010

[android-developers] Is there something wrong with the DatePicker and TimePicker?

Hi,

I'm trying to use an DatePickerDialog.OnCancelListener but I think
something is wrong. It works if I push the back button to exit out of
a date picker dialog, but if I push the software "cancel" button, it
doesn't go off.

Also if you set the dialog to not be allowed to be canceled, the back
button stops working, but the cancel button still exits out of the
dialog (but doesn't set of the OnCancelListener).

Is this intended? How can I know when the cancel button on the
DatePickerDialog has been pressed?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment