]> git.ktnx.net Git - mobile-ledger.git/commit
store transaction list in a db transaction
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 24 Apr 2021 18:29:16 +0000 (18:29 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 25 Apr 2021 17:07:58 +0000 (17:07 +0000)
commit3f6686c63547ce6eaf6fe09b00a179ca8d49089c
tree4637ea642e7bcbe35a7be4b16e1a70c3d5fa6219
parentb7a79ded94e99d06567b6617c7caa926799dc90c
store transaction list in a db transaction

otherwise each insert/update triggers a re-fetch of the while list,
which is devastating for the UI and the battery
app/src/main/java/net/ktnx/mobileledger/dao/TransactionDAO.java