Monday, June 2, 2014

Re: Eventbus question: When to call HandlerRegistration.removeHandler() ?

As long as you use the EventBus provided by the start() method you must not care about unregistering event handlers. The ActivityManager will do this for you as soon as the activity will be stopped. The ActivityManager wraps the EventBus you provide it with a ResettableEventBus and that ResettableEventBus is what you get in your start() method.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment