From: Damyan Ivanov Date: Sat, 5 Jan 2019 13:34:51 +0000 (+0000) Subject: static class method call X-Git-Tag: v0.3~111 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=d3a64f9a064a144b0ea8e4568517595615b2d943;p=mobile-ledger.git static class method call --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java index 3c4bfa9e..79c34b89 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java @@ -167,7 +167,7 @@ public class TransactionListFragment extends MobileLedgerListFragment { @Override public void onItemClick(AdapterView parent, View view, int position, long id) { Log.d("tmp", "direct onItemClick"); - ((TransactionListViewModel) model).scheduleTransactionListReload(mActivity); + TransactionListViewModel.scheduleTransactionListReload(mActivity); MatrixCursor mc = (MatrixCursor) parent.getItemAtPosition(position); modelAdapter.setBoldAccountName(mc.getString(1)); modelAdapter.notifyDataSetChanged();