Hello,
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!
-- 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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment