package net.ktnx.mobileledger.model;
-import android.support.annotation.NonNull;
-
import java.util.Date;
+import androidx.annotation.NonNull;
+
public class TransactionListItem {
private Type type;
private Date date;
private boolean monthShown;
private LedgerTransaction transaction;
private boolean odd;
- public TransactionListItem() {
- this.type = Type.TRAILER;
- }
public TransactionListItem(Date date, boolean monthShown) {
this.type = Type.DELIMITER;
this.date = date;
public boolean isOdd() {
return odd;
}
- public enum Type {TRANSACTION, DELIMITER, TRAILER}
+ public enum Type {TRANSACTION, DELIMITER}
}