]> git.ktnx.net Git - mobile-ledger.git/commitdiff
refresh the view when the transaction list is updated
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 15 Dec 2018 19:32:01 +0000 (19:32 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 15 Dec 2018 19:32:01 +0000 (19:32 +0000)
app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java

index c41c00535a9178e7d5eec3d44aaf85471a73eef7..fcaf9d5f9bc48ee3d64f616c820ee5362b27aa21 100644 (file)
@@ -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) {