dot42/xamarin Android programming and applying AlertDialog's SetOnCancelListener method

view full story

http://stackoverflow.com – I try to 'develop' an Android application with C# (VS2010 + dot42/mono) which shows lots od messages, gets users' input, and creates AlertDialogs. The questions are: 1. Do you know how to catch OnCancel Event returned from Android AlertDialog(s)? 2. How to detect which exactly AlertDialog sent it? To be more clear, I am trying to get the AlertDialog.Builder SetOnCancelListener(IDialogInterface_IOnCancelListener onCancelListener) to work. I have created a method which displays a simple message box, and I try to catch somehow (but it is all wrong so far) the onCancel event. Please see below. (HowTos)