デバッグ用に日付を用いるように
This commit is contained in:
parent
20a24b4ea3
commit
8f77c73439
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user