Reviewers: jlabanca,

Description:
Step one in making mobilewebapp more DI friendly. The goal is to
remove all knowledge of ClientFactory from any class but the entry
point.

This gets the basic pattern in place, submitting it as a checkpoint so
that new features can appear in the right place.

In particular, introduces the App class, and elminates a lot of low
hanging ClientFactory leakage. The interesting bit will be getting it
out of the activities. And a particularly nasty spot is where
MobileWebAppShellTablet (view class) is kicking off a
TaskListActivity. That's next.


Please review this at http://gwt-code-reviews.appspot.com/1433801/

Affected files:
A samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/App.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/ClientFactory.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/ClientFactoryImpl.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/ClientFactoryImplMobile.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/ClientFactoryImplTablet.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/MobileWebApp.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/MobileWebAppShellBase.java A samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/Provider.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/activity/AppActivityMapper.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/activity/TaskEditActivity.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/activity/TaskListActivity.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/desktop/MobileWebAppShellDesktop.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/mobile/MobileWebAppShellMobile.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/place/AppPlaceHistoryMapper.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/tablet/MobileWebAppShellTablet.java A samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/ui/OrientationChangeEvent.java A samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/ui/OrientationMonitor.java
  M user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to