]> git.ktnx.net Git - mobile-ledger.git/commit
async database statement queue
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 24 Mar 2019 09:32:54 +0000 (11:32 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 25 Mar 2019 06:17:36 +0000 (06:17 +0000)
commitb1b663239741e95fc1087de186a10e5e762135db
tree096c81e9796ab29aa0d7eb7167a1492771ec3963
parentabd5a19252bf81af903c3406132030e3ad63704f
async database statement queue

the idea is to take quick database updates outside the main (UI) thread

this helps when the database is in a transaction updating accounts or
transactions which can take considerable time
app/src/main/java/net/ktnx/mobileledger/async/DbOpItem.java [new file with mode: 0644]
app/src/main/java/net/ktnx/mobileledger/async/DbOpQueue.java [new file with mode: 0644]
app/src/main/java/net/ktnx/mobileledger/async/DbOpRunner.java [new file with mode: 0644]
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java