I want to do some data checking after dialog.dismiss() or dialog.cancel is called.
How should I go about doing this?
Are there any overrides, Listener or methods that i can implement to do some action then dismiss the Dialog?
I tried dialog.setOnDismissListener but that dismisses the dialog first then calls this listener.