try to set onCancelListener()
on the dialog.
android AlertDialog dismiss is not called
-
01-07-2022 - |
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!
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow