use of de.djuelg.neuronizer.domain.interactors.preview.impl.EditTodoListInteractorImpl in project Neuronizer by djuelg.
the class DisplayPreviewPresenterImpl method syncPreviews.
@Override
public void syncPreviews(List<PreviewViewModel> previews) {
List<PreviewViewModel> reversedPreviews = Lists.reverse(Optional.fromNullable(previews).or(new ArrayList<PreviewViewModel>(0)));
for (PreviewViewModel vm : reversedPreviews) {
EditTodoListInteractor interactor = new EditTodoListInteractorImpl(mExecutor, mMainThread, this, repository, vm.getUuid(), vm.getTitle(), reversedPreviews.indexOf(vm));
interactor.execute();
}
}
use of de.djuelg.neuronizer.domain.interactors.preview.impl.EditTodoListInteractorImpl in project Neuronizer by djuelg.
the class TodoListPresenterImpl method editTodoList.
@Override
public void editTodoList(String uuid, String title, int position) {
EditTodoListInteractor interactor = new EditTodoListInteractorImpl(mExecutor, mMainThread, this, repository, uuid, title, position);
interactor.execute();
}
Aggregations