デバッグ用に日付を用いるように

This commit is contained in:
ろむねこ 2024-07-23 11:04:55 +09:00
parent 20a24b4ea3
commit 8f77c73439
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -155,7 +155,9 @@ public class HistoryItemListAdapter extends RecyclerView.Adapter<HistoryItemList
} else {
HistoryModel previousHistoryModel = historyDataList.getList().get(historyDataList.getList().indexOf(historyModel) - 1);
// getMonth()はDeprecated TODO: やめる
return historyModel.getRegisteredAt().getMonth() != previousHistoryModel.getRegisteredAt().getMonth();
// return historyModel.getRegisteredAt().getMonth() != previousHistoryModel.getRegisteredAt().getMonth();
// DEBUG: 月をまたぐデータがないので
return historyModel.getRegisteredAt().getDate() != previousHistoryModel.getRegisteredAt().getDate();
}
}