I used the android developers time picker & date picker http://developer.android.com/guide/topics/ui/controls/pickers.html and I want when the user clicks cancel button in the dialog to do some actions I tied ondismiss, onStop, onCancel But no luck can you tell me the simple method to catch this event ??

thnx all

有帮助吗?

解决方案

I used boolean to check if the time/data is set or not

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top