diff --git a/app/src/main/java/com/example/citrusclient/views/HomeFragment.java b/app/src/main/java/com/example/citrusclient/views/HomeFragment.java index 5f5762f..69d27e3 100644 --- a/app/src/main/java/com/example/citrusclient/views/HomeFragment.java +++ b/app/src/main/java/com/example/citrusclient/views/HomeFragment.java @@ -224,6 +224,7 @@ } else { todoAdapter.setTodos(todoList, integerBookHashMap); } + todoAdapter.notifyDataSetChanged(); } }); @@ -237,6 +238,7 @@ scheduleList = new ArrayList<>(); scheduleAdapter.setSchedules(scheduleList, integerBookHashMap); } + todoAdapter.notifyDataSetChanged(); } }); @@ -343,7 +345,6 @@ Activity activity = (Activity) context; ((MainActivity) activity).showFragment(new CreateTodoFragment(todoData, book)); notifyDataSetChanged(); - }); holder.todoCheckBox.setOnCheckedChangeListener((buttonView, isChecked) -> {