Hi,

I've found this on stackoverflow on implementing a modal window...

http://stackoverflow.com/questions/6120567/android-how-to-get-a-modal-dialog-or-similar-modal-behavior

The bottom example is simple enough to port to C#, but I have a few questions.

1.
private Method mMsgQueueNextMethod = null;
private Field mMsgTargetFiled = null;

By the looks of it mMsgQueueNextMethod is kind of like an Intent ore than anything. Not sure what Field equates to (var?)

2.
    Class<?> clsMsgQueue = null;
    Class<?> clsMessage = null;

By the looks Class<?> is roughly var - is it?

3. Can we do the likes of

builder.setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
        public void onClick(DialogInterface dialog, int id) {
            ModalDialog.this.mQuitModal = true;
            ModalDialog.this.mChoice = false;
            dialog.cancel();
        }

?

DialogInterface doesn't have an OnClickListener, so I'd need to implement one.

Comments welcome :)

Paul
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to