Merge pull request 'Workaround' (#142) from refactor/parent into main

Reviewed-on: #142
This commit is contained in:
Fujimatsu 2024-07-06 04:35:40 +00:00
commit e8ddf8702a

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