]> git.ktnx.net Git - mobile-ledger.git/commit
rework transaction retrieval without MainActivity reference
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 26 Aug 2020 20:03:05 +0000 (20:03 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 26 Aug 2020 20:03:05 +0000 (20:03 +0000)
commit60c444f557ab404619a765279f4089402140aef4
tree89ff5d59f2e3fd18e37034b89a8576abf66ce85b
parentb2320d3e0d9959ab61eb77e2b761ef29258186db
rework transaction retrieval without MainActivity reference

use a public LiveData to which interested parties can subscribe
app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java
app/src/main/java/net/ktnx/mobileledger/model/Data.java
app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryFragment.java
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java
app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java