Wednesday, March 2, 2011

Re: View-Presenter Interaction Patterns in Google Web Toolkit (GWT)

> Hi,
> so is this the correct approach for it http://tinypic.com/r/236vq0/7 ?
>
> When the Activity is created it gets the instance of the view and
> creates a new presenter. It binds these two together. When the
> activity is stopped (by place change) the presenter has to be set to
> null.

That seems about right to me. Both activities and presenters are
considered lightweight objects and are therefore disposable. In fact,
for your highest level widgets, a single class may fill the roles of
both activity and presenter.

-Brian

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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