A consistent listener implementation

Lucas Rocha lucasr at mozilla.com
Tue May 6 04:48:43 PDT 2014


> Which brings me to my conclusion: if we're reaching Peak Listener -- that is,
> if we're starting to roll up ad hoc notification systems, considering
> abusing sendMessageToJava, or discussing consistent listener implementations
> on the mailing list -- then perhaps it's time to start thinking about
> consistent use of messaging for inter-component communication.

I agree. Josh has posted some patches introducing the notion of an event bus (using Square's Otto) in bug 1005352. I've posted some follow-up questions that we probably want to put some thought on before going ahead with such approach:

https://bugzilla.mozilla.org/show_bug.cgi?id=1005352#c4

--lucasr 


More information about the mobile-firefox-dev mailing list