datetimepicker icon indicating copy to clipboard operation
datetimepicker copied to clipboard

How could I trap the back button being pressed whilst the date picker is displayed?

Open ghost opened this issue 11 years ago • 1 comments

Tried to catch this, and it's not really working out. Is it even possible?

I can't see a setOnCancelListener

ghost avatar Sep 13 '14 14:09 ghost

There isn't anything to be call on dismiss. You can add it using https://developer.android.com/reference/android/app/DialogFragment.html#onDismiss(android.content.DialogInterface) and then just pull a request ;)

flavienlaurent avatar Oct 09 '14 21:10 flavienlaurent