[mono-android] Eventing pattern

Chris Erickson chris at cartopac.com
Wed Mar 9 01:29:50 EST 2011


Hey MonoDroid guys,
I was just using the TelephonyManager, and noticing that to subscribe to the status changed / listen event, I

 1.  could not use .net style eventing
 2.  Could not even implement the IPhoneStateListener interface

I had to subclass PhoneStateListener itself to listen.

Is it the goal of MonoDroid to provide .net style listeners, or Interface based delegation patterns throughout, or are there just some necessary exceptions?

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110309/fb53f6ed/attachment.html 


More information about the Monodroid mailing list