Hi,

My new project is MVP (the old do-it-your-own way, not Activities and
Places). Most of my presenters listen for at least something on the event
bus. Also, one of my presenters is a presenter on its own, but can also be a
presenter inside another presenter. My AppController-like class creates new
presenters each time a navigation link is clicked (even if it was clicked
before), meaning lots of objects end up registered on the event bus.  This
to me seems to be the normal way of doing things so far.

*But, what's the best practise / normal way of removing something from the
event bus when a view is switched?* How to detect, and where, etc? Any
ideas?

Even in non-MVP apps, this must become a problem...




Cheers,
Terra

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to