Workaround

This commit is contained in:
rca 2024-07-06 13:33:52 +09:00
parent 92a5aa8210
commit 6663f92cf8

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
});