My activity opens a dialog. When it closes I need the function ReloadTable() to be executed. So I am trying to use setOnDismissListener but its not get
ReloadTable()
setOnDismissListener
I found the real problem.
You should call .show in the dialog, not in the builder.
Try it :)