[Mono-bugs] [Bug 667406] Event'd BroadcastReceiver would be nice

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jan 29 00:55:03 EST 2011



Mike Kestner <mkestner at novell.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Mike Kestner <mkestner at novell.com> 2011-01-29 05:55:00 UTC ---
I'm not sure we want to be adding things like this into the base binding.  It's
a pretty simple user subclass to do in your project, and I'm not sure how
discoverable it would be in Mono.Android.dll.

If I were going to expose something purely callback-based for receivers it
would probably be an internal class with overloads on Context like:

Context.RegisterReceiver (Action<Context, Intent>, string);

But those wouldn't have access to all the additional state passing that's
provided by the abstract receiver class.  I think this one is probably a
WONTFIX unless there's a general clamoring for something simpler than a user

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list