Пример #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()));
 }