I think that from that handler i should call the eventBus in the
onView and onRemove methods, right?
But how do i connect every link to that handler? Should i put a
onClickHandler on every lnk that i create in the view that calls those
methods?
Sorry if i am saying stupid things, i' am newby to mvp model :)
On 11 jul, 16:15, Gal Dolber <
gal.dol...@gmail.com> wrote:
> try something like this from the presenter:
>
> view.setHandler(ViewHandler handler);
>
> interface ViewHandler {
>
> void onView(Category c);
> void onRemove(Category c);
>
> }
>
> whatever any one say to you, DO NOT USE GETTERS ON THE VIEW INTERFACE :)
>
> 2010/7/11 nacho <
vela.igna...@gmail.com>
> >
google-web-tool...@googlegroups.com<
google-web-toolkit%2Bunsu...@googlegroups.com>
> > .