]> git.ktnx.net Git - mobile-ledger.git/commit
move DB access routines to the application class
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 3 May 2019 16:06:32 +0000 (19:06 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 3 May 2019 16:11:44 +0000 (19:11 +0300)
commit90383a155ec16a9f13b1e6ac94a118033e09b3aa
tree841bf771e7635065823df8d1f432970c372b5211
parentd45f5704a4eb4acceb85d46a2ed23bd62623e10b
move DB access routines to the application class

it is a natural context "source" for the DB creation and a singleton
global instance
15 files changed:
app/src/main/AndroidManifest.xml
app/src/main/java/net/ktnx/mobileledger/App.java [new file with mode: 0644]
app/src/main/java/net/ktnx/mobileledger/MobileLedgerApplication.java [deleted file]
app/src/main/java/net/ktnx/mobileledger/async/CommitAccountsTask.java
app/src/main/java/net/ktnx/mobileledger/async/DbOpRunner.java
app/src/main/java/net/ktnx/mobileledger/async/RefreshDescriptionsTask.java
app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java
app/src/main/java/net/ktnx/mobileledger/async/UpdateAccountsTask.java
app/src/main/java/net/ktnx/mobileledger/async/UpdateTransactionsTask.java
app/src/main/java/net/ktnx/mobileledger/model/Data.java
app/src/main/java/net/ktnx/mobileledger/model/MobileLedgerProfile.java
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java
app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java
app/src/main/java/net/ktnx/mobileledger/utils/MLDB.java
app/src/main/java/net/ktnx/mobileledger/utils/MobileLedgerDatabase.java [new file with mode: 0644]