From: Damyan Ivanov Date: Sat, 15 Dec 2018 19:32:01 +0000 (+0000) Subject: refresh the view when the transaction list is updated X-Git-Tag: v0.3~232 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=be608a16168cd370022a42463e51b4ce202c8a1e;p=mobile-ledger.git refresh the view when the transaction list is updated --- diff --git a/app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java b/app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java index c41c0053..fcaf9d5f 100644 --- a/app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java @@ -157,6 +157,7 @@ public class TransactionListActivity extends AppCompatActivity { Date now = new Date(); dbh.set_option_value("transaction_list_last_update", now.getTime()); updateLastUpdateText(now); + modelAdapter.notifyDataSetChanged(); } } private void updateLastUpdateText(Date now) {