]> git.ktnx.net Git - mobile-ledger.git/commit
let the model hold the (single) transaction list
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 22 Dec 2018 07:29:18 +0000 (07:29 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 22 Dec 2018 07:29:18 +0000 (07:29 +0000)
commit023539ae4b017c80b2b28978d701e05354d265df
treef4c42a8d0ccf21b0d899decaa139dc972d2b9a22
parent3e3f856e7c2183c0fc8f4b9a4658fbb10703a6ff
let the model hold the (single) transaction list

all access to the list goes via the model
transaction list is loaded upon activity launch if it was never downloaded

before there were two copies of the list that were out of sync
app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java
app/src/main/java/net/ktnx/mobileledger/TransactionListAdapter.java