Re: MVP:should the View object keep a reference to the corresponding Activity object?

2014-05-15 Thread ehodges
No, the view should be a simple container for UI objects. The only exception should be a reference to the event bus, so UI Binder event methods can fire events. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this

MVP:should the View object keep a reference to the corresponding Activity object?

2014-05-14 Thread wahaha
should the View object keep a reference to the corresponding Activity object(which act as a presenter)? in the demo called helloMVP provided by the gwt official site,it does. but in my humble opinion,Presenter is the layer on top of View.and the upper layer may invocate the lower layer,but the

Re: MVP:should the View object keep a reference to the corresponding Activity object?

2014-05-14 Thread Thomas Broyer
On Wednesday, May 14, 2014 11:57:34 AM UTC+2, wahaha wrote: should the View object keep a reference to the corresponding Activity object(which act as a presenter)? in the demo called helloMVP provided by the gwt official site,it does. but in my humble opinion,Presenter is the layer on top