locks around observable list's access
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 24 Mar 2019 17:09:41 +0000 (19:09 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 25 Mar 2019 06:17:36 +0000 (06:17 +0000)
commit7165b89c8ff2b9d8f69e02354197127ec27a4a47
tree1c3ce57b142445bb9400c6b8d0c367a494dfdc1a
parent83cac114e375728080194fb09758b49c50a8119b
locks around observable list's access

to help guarantee that the list is not modified by another thread while
traversing
app/src/main/java/net/ktnx/mobileledger/async/CommitAccountsTask.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/account_summary/AccountSummaryAdapter.java
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java
app/src/main/java/net/ktnx/mobileledger/utils/LockHolder.java [new file with mode: 0644]
app/src/main/java/net/ktnx/mobileledger/utils/ObservableList.java