I have multiple custom DialogFragments. I want the Dismiss action to be performed on my MainActivity so I implemented IDialogInterfaceOnDismissListener. So far so good. Now I want to run different methods for every dialog dismiss.
example: for dialog a dismiss run method b
for dialog c dismiss run method d.
IdialogInterface has only .Equals(object) and I couldn't compare it using typeof...