forgot to mark the data as loaded -- avoids re-loading it with each display
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 16 Dec 2018 06:25:28 +0000 (06:25 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 16 Dec 2018 06:25:28 +0000 (06:25 +0000)
app/src/main/java/net/ktnx/mobileledger/model/LedgerTransaction.java

index e51d40038a499b304c938a150d8a3d9b212aa233..fab4ff3e0d1f2988eacd0f06be35687bb20c758e 100644 (file)
@@ -152,6 +152,8 @@ public class LedgerTransaction {
                                 new LedgerTransactionItem(cAcc.getString(0), cAcc.getFloat(1),
                                         cAcc.getString(2)));
                     }
+
+                    dataLoaded = true;
                 }
             }
         }