Question

I've got some problem.. Well, I create AlertDialog using AlertDialog.Builder, than I using setContentView for setting OK and Cancel buttons and hang up some actions on the dismiss() method. BUT..when I touching anything else this buttons, dismiss() is not called.

So, my question is, Which methods are invokes when i touching and how can i call my methods in this case(touching anything else)? Thns!

Was it helpful?

Solution

try to set onCancelListener() on the dialog.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top