In my project I use the Model-View-Presenter and want to create a UI-Element where I can register a HandlerManager to handle client-side events.
How can I do something like this? Or does it not conform to MVP?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, if you are using the UiBinder paradigm, you can specify a UiHandler, using the
@UiHandlerannotation on your method (see here).If you have more details on exactly what you’re trying to do, then I can probably provide other solutions as well.