+ String dateString = cursor.getString(1);
+ Date date = Globals.parseLedgerDate(dateString);
+
+ if (!lastDateString.equals(dateString)) {
+ boolean showMonth = (date.getMonth() != lastDate.getMonth() ||
+ date.getYear() != lastDate.getYear());
+ newList.add(new TransactionListItem(date, showMonth));
+ }
+ newList.add(
+ new TransactionListItem(new LedgerTransaction(transaction_id), odd));