Tuesday, April 3, 2012

How to unsubscribe handler from EventBus?

Hello
I have two widgets,and both of them implement same event
handler,subscribe to same EventBus to listen same event.What I expect
is after view switching from widget1 to widget2,widget1 can be
unsubscribed from EventBus and collected by browser,so when event is
fired again,only widget2 will handle it.But actually,widget1 still live
and will handle the event.How can I solve this problem?

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate