I have a warning dialog box containing a button. The button is defined in some XML, and the layout is set using Dialog.setContentView ().
The button has a listener class, and I want to know how, if at all, I can access the dialog from the onClick (View v) method.
The reason for this is simply that I want to remove the dialogue, so if there is an easier / better way to do this, then it will be useful to know!
source
share