]> git.ktnx.net Git - mobile-ledger.git/commit
speculatively add new transactions to the database and UI list
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 24 Apr 2021 21:04:59 +0000 (00:04 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 25 Apr 2021 17:07:58 +0000 (17:07 +0000)
commit916547239190f7daf921f2066593637cfca877fc
tree7a614976e69384370289ae14076ea1dbb03a1d18
parentbba9ffd8fa7af0e3a940461cbc6448e266794aa6
speculatively add new transactions to the database and UI list

this saves a refresh that would be need to view the new transactions and
 ccount balances
app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java
app/src/main/java/net/ktnx/mobileledger/async/TaskCallback.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/ui/new_transaction/NewTransactionActivity.java
app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionModel.java