いろいろ
This commit is contained in:
parent
62d298ebfd
commit
8129b83e16
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user