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