Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
public class UsersPresenter extends Presenter<UsersPresenter.MyView, UsersPresenter.MyProxy>
implements UsersViewUiHandlers, UserDeletedEventHandler {
// ...
EventBus eventBus,
MyView view,
MyProxy proxy,
UserService userService) {
super(eventBus, view, proxy, RevealType.Root);
this.userService = userService;
getView().setUiHandlers(this); // <- Don't forget this.
// ...
protected void onBind() {
addRegisteredHandler(UserDeletedEvent.TYPE, this); // <- Don't forget this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment