Exemplo n.º 1
0
 @Override
 protected void handlePage(String... params) {
   String decodeUrl = UrlEncodeDecoder.decode(params[0]);
   int accountId = Integer.parseInt(decodeUrl);
   EventBus.getInstance().fireEvent(new ActivityEvent.TaskRead(this, accountId));
 }
Exemplo n.º 2
0
 public void saveTaskSuccess(final SimpleTask task) {
   this.displayTasks();
   if (!this.isDisplayTaskListInfo) {
     EventBus.getInstance().fireEvent(new TaskListEvent.GotoRead(this, this.taskList.getId()));
   }
 }
Exemplo n.º 3
0
 @Override
 protected void handlePage(String... params) {
   EventBus.getInstance().fireEvent(new ActivityEvent.TaskAdd(this, new Task()));
 }