LazyPanel and runAsync() are for different purpose. LazyPanel is just a container for lazy-*initialization *of widgets. As the widget creation involves dom manipulation, which is relatively costly, you could use LazyPanel to defer it, in case you have a really complex widget.
runAsync, is used for code splitting, ie to introduce split points. If you look at the simple example with just creation of widget inside the runAsync block, it may look like a better version of LazyPanel, but its not. -sowdri- -- 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/-/8bA8ZlE8ZmwJ. 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.
