Friday, August 28, 2015

GWT MVP and UiBinder Question


I read the documentation of MVP and i have a question about UiBinder ClickListener.
Is it make sense if i define the ClickListener in the UiBinder java file like in the docs,
which in turn call the presenter.OnItemClicked() or i define the Clicklistener in Presenter
where all the logic is and from the UiBinder java, i just define methods which return only
the button for example, and in the Presenter i call those methods and define the ClickListener
for that button? So in the UiBinder java file i only have @UiField and a couple
methods which returns those UiFIelds.

Thank you!

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment