リフレッシュ処理改善

This commit is contained in:
ろむねこ 2024-07-23 12:28:42 +09:00
parent f932b935b9
commit 870b8be7f6
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -140,7 +140,7 @@ public class WalletContentFragment extends Fragment {
// totalRewardTextView.setText(String.valueOf(historyList.stream().mapToInt(HistoryModel::getReward).sum()) + "");
requireActivity().runOnUiThread(() -> {
historyItemListAdapter.notifyDataSetChanged();
totalRewardTextView.setText("debug");
totalRewardTextView.setText(String.valueOf(historyList.stream().mapToInt(HistoryModel::getReward).sum()) + "");
});
}).thenRun(() -> {
requireActivity().runOnUiThread(() -> {