Workaround #142

Merged
Fujimatsu merged 1 commits from refactor/parent into main 2024-07-06 04:35:41 +00:00

View File

@ -67,6 +67,11 @@ public class ParentMainFragment extends Fragment {
}
}).thenAccept(taskItemModel -> {
parentAdapter.setTaskDataList(taskItemModel);
try { // Workaround
Thread.sleep(200);
} catch (InterruptedException e) {
// Do nothing
}
requireActivity().runOnUiThread(()-> {
parentAdapter.notifyDataSetChanged(); // Workaround
});