From be608a16168cd370022a42463e51b4ce202c8a1e Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 15 Dec 2018 19:32:01 +0000 Subject: [PATCH] refresh the view when the transaction list is updated --- .../main/java/net/ktnx/mobileledger/TransactionListActivity.java | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.39.5