Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

IDialogInterfaceOnDismissListener.OnDismiss - What DialogFragment has been dismissed?

AlonAvivAlonAviv USMember ✭✭

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.

Any ideas?
IdialogInterface has only .Equals(object) and I couldn't compare it using typeof...

Sign In or Register to comment.