Sunday, February 5, 2012

Re: Activity & Places - Remove & Add of a widget for every new activity - Why?

I don't think adding/removing is any more costly than showing/hiding, but even then, you could make it work that way (show/hide) by simply providing a DeckLayoutPanel (or an AcceptsOneWidget wrarpper around a DeckPanel). The problem with such an approach is when your activities don't reuse their views, you'd absolutely need a way to clean-up the "widget cache".

--
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/-/bvTvUgq93fAJ.
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