Exemplo n.º 1
0
 @Override
 public void onActionEvent(ActionBarEvent event) {
   if (event.getActionType() == ActionType.DONE
       && event.isTheSameToken(NameTokens.getDetailRating())) {
     getView().getRating();
   }
 }
Exemplo n.º 2
0
 @Override
 protected void onBind() {
   addRegisteredHandler(GoBackEvent.getType(), this);
   addRegisteredHandler(ActionBarEvent.getType(), this);
 }