class ListDetailPresenter implements ListDetailContract.Presenter {

    @Override
    public void onTaskItemCheckedChanged(Task task, boolean isDone) {
        todoRepository.updateTaskState(task.getId(), isDone);
    }

      ListDetailPresenter(TodoRepository todoRepository, long listId);

}