]> git.ktnx.net Git - mobile-ledger.git/commit
running totals when filtering transactions by account
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 7 May 2021 04:43:12 +0000 (04:43 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 7 May 2021 04:43:12 +0000 (04:43 +0000)
commit64413271ef4ed943ae29e9cf9115c1bb77053278
treea7a5214b9258b1b2ecbfc0dfe4c116cec0159dac
parentd446296a0a2bd86fc1a4e5de3bed9289dc042396
running totals when filtering transactions by account

this requires traversing the transaction list in the opposite order - from
oldest to newest and corresponding corner cases
app/src/main/java/net/ktnx/mobileledger/async/TransactionAccumulator.java
app/src/main/java/net/ktnx/mobileledger/dao/TransactionDAO.java
app/src/main/java/net/ktnx/mobileledger/model/LedgerAccount.java
app/src/main/java/net/ktnx/mobileledger/model/TransactionListItem.java
app/src/main/java/net/ktnx/mobileledger/ui/MainModel.java
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java
app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java
app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionRowHolder.java
app/src/main/res/layout/transaction_list_row.xml
app/src/main/res/values/dimens.xml