> 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 _______________________________________________ mobile-firefox-dev mailing list mobile-firefox-dev@mozilla.org https://mail.mozilla.org/listinfo/mobile-firefox-dev