diff --git a/app/src/main/java/com/example/citrusclient/viewmodels/TodosViewModel.java b/app/src/main/java/com/example/citrusclient/viewmodels/TodosViewModel.java index ae0fd60..bfb88d3 100644 --- a/app/src/main/java/com/example/citrusclient/viewmodels/TodosViewModel.java +++ b/app/src/main/java/com/example/citrusclient/viewmodels/TodosViewModel.java @@ -54,10 +54,13 @@ } public MutableLiveData>> getTodosByMonthLiveData() {return todosByMonthLiveData;} public MutableLiveData> getTodosByDayLiveData() {return todosByDayLiveData;} - public MutableLiveData getTodoByIdLiveData() {return todoLiveData;} + public MutableLiveData getTodoLiveData() {return todoLiveData;} + public MutableLiveData getSuccessSetCheckLiveData() {return successSetCheckLiveData;} + public MutableLiveData getSuccessDeleteTodoLiveData() {return successDeleteTodoLiveData;} public MutableLiveData getErrorLiveData() {return errorLiveData;} + public void loadAllTodos(String accountId,Integer bookId, String token) { Call>>>> call = todosRest.getAllTodos(accountId, bookId, token);