Sunday, July 3, 2011

Re: Disposable activities

Another problem with disposable activities is that when sending out updates over the event bus, there is no activity to handle the event and update the view (which is hiding). 
When navigating to a place where the view shows up again, the view will be out of sync with the rest of the application because it missed some updates.
Yes, I can just minimize it to height/widht=0 and never dispose of the activity/view combination, but I feel the architecture is flawed if that is the solution.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/YuBOL3ELWz4J.
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.

No comments:

Post a Comment