22.02.2011 17:38, Mark Murphy пишет:
That was the point of my "Why?" question in my original reply. I don't
know why the OP feels that he needs to override onBackPressed().

The cancel listener is called when the dialog has already been hidden.

...which might be too late if someone wanted to display some sort of "Canceling....." message and keep the dialog on the screen until the operation is done canceling.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

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

Reply via email to