いろいろ

This commit is contained in:
ろむねこ 2024-07-23 12:15:04 +09:00
parent 62d298ebfd
commit 8129b83e16
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -90,6 +90,19 @@ public class HistoryItemListAdapter extends RecyclerView.Adapter<HistoryItemList
}
}
public interface CheckBoxChangedCallback {
void onCheckBoxChanged();
}
public boolean hasChecked() {
for (HistoryModelExtended historyModelExtended : historyDataList.getList()) {
if (historyModelExtended.isChecked()) {
return true;
}
}
return false;
}
private HistoryModelExtendedList historyDataList;
public void setHistoryDataList(List<HistoryModel> historyDataList) {