예제 #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));
 }
예제 #2
0
 public void saveTaskSuccess(final SimpleTask task) {
   this.displayTasks();
   if (!this.isDisplayTaskListInfo) {
     EventBus.getInstance().fireEvent(new TaskListEvent.GotoRead(this, this.taskList.getId()));
   }
 }
예제 #3
0
 @Override
 protected void handlePage(String... params) {
   EventBus.getInstance().fireEvent(new ActivityEvent.TaskAdd(this, new Task()));
 }