From 62d298ebfdf4c87e6153e13ac51372875fbebcd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Tue, 23 Jul 2024 12:11:44 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=A8=E3=82=8A=E3=81=82=E3=81=88=E3=81=9A?= =?UTF-8?q?=E5=BB=83=E6=AD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kidshift/wallet/HistoryItemListAdapter.java | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/feature/wallet/src/main/java/one/nem/kidshift/wallet/HistoryItemListAdapter.java b/feature/wallet/src/main/java/one/nem/kidshift/wallet/HistoryItemListAdapter.java index 7e73a25..44a346a 100644 --- a/feature/wallet/src/main/java/one/nem/kidshift/wallet/HistoryItemListAdapter.java +++ b/feature/wallet/src/main/java/one/nem/kidshift/wallet/HistoryItemListAdapter.java @@ -8,6 +8,7 @@ import android.widget.CheckBox; import android.widget.ImageButton; import android.widget.LinearLayout; import android.widget.TextView; +import android.widget.Toast; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; @@ -156,21 +157,7 @@ public class HistoryItemListAdapter extends RecyclerView.Adapter { - // 次のヘッダーまでの間のアイテムを全てチェックする - int index = position + 1; - try { - while (!isFirstOfMonth(this.historyDataList.getList().get(index))) { - this.historyDataList.getList().get(index).setChecked(true); - index++; - } - // 自身を更新 Workaround: なぜかindexを+1しないとチェックをつけれないので - this.historyDataList.getList().get(position).setChecked(true); - // 表示更新 - notifyItemRangeChanged(position, index - position); -// notifyDataSetChanged(); - } catch (IndexOutOfBoundsException e) { - // 1個しかない場合 Workaround - } + Toast.makeText(v.getContext(), "実装中", Toast.LENGTH_SHORT).show(); }); } }