My GWT application has a navigation bar, which includes 3 views: Home view and View1, View2, View1 and View2 are controlled by their activities, and both use a same widget(they new the widget each under their constructor). When the app first launched, it will go to home page.
When doing code split, i found that the common widget is included in leftover segment, but i wish it could be downloaded only when user click view1 or view2, not in leftover, any way to achieve this?
Thanks.
Aha, just after i post this thread, i found https://developers.google.com/web-toolkit/articles/fragment_merging which totally address my question. It’s GWT 2.5 new feature.