On Tuesday, February 7, 2012 3:09:36 PM UTC+1, Zdenek wrote: > > Thank you for your reply. I probably didn't describe my question exactly > because you misunderstood it completelly. > > I'm talking about GWT MVP approach through Places & Activities - > http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html > >
Places and Activities, despite what can be said in the docs, have nothing to do with MVP (you can very well make an Activity that doesn't use MVP). Whether you use Activities or not (e.g. following the "part II" tutorial) doesn't change your question. - I'm providing fully MVP friendly interfaces that looks nearly same as in > that article (View implements it and activity implements its Presenter > interface part). > - I'm not talking about fetching data in views anywhere in my question, > only whether view can pass Receiver into Activity. > You're defining fetchXxx methods on your presenter, to be called by the view, so the view indeed is "fetching" data (through the presenter, but that doesn't change the problem). -- 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/-/kNo1dJyZRVEJ. 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.
