i am using following example of date picker
http://developer.android.com/guide/tutorials/views/hello-datepicker.html
now i want to perform some functionality
Since DatePickerDialog
is a Dialog
, it supports the following:
setOnCancelListener(OnCancelListener listener)
setOnDismissListener(OnDismissListener listener)
Using both listeners, you can identify all dismissals of the date picker dialog. The first would answer the question, the latter is for completion.