move DB stuff into a static class
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 16 Dec 2018 17:07:44 +0000 (17:07 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 16 Dec 2018 17:07:44 +0000 (17:07 +0000)
commit6c58c1072c9af6ea0d0f52baeae7f95ba7f7ee2f
tree39ceecf1ee5cff5d6f362bb918a0d1208429288e
parentf8f86b6145e025b787650f7342675622227f9b24
move DB stuff into a static class

downside is that we need to pass a context around
app/src/main/java/net/ktnx/mobileledger/AccountSummary.java
app/src/main/java/net/ktnx/mobileledger/AccountSummaryViewModel.java
app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java
app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java
app/src/main/java/net/ktnx/mobileledger/TransactionListAdapter.java
app/src/main/java/net/ktnx/mobileledger/async/RetrieveAccountsTask.java
app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java
app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListViewModel.java
app/src/main/java/net/ktnx/mobileledger/utils/MLDB.java [new file with mode: 0644]
app/src/main/java/net/ktnx/mobileledger/utils/MobileLedgerDatabase.java [deleted file]