]> git.ktnx.net Git - mobile-ledger.git/commitdiff
static class method call
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 5 Jan 2019 13:34:51 +0000 (13:34 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 5 Jan 2019 13:34:51 +0000 (13:34 +0000)
app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java

index 3c4bfa9e2a6083204553ef000c3863c158059251..79c34b8950ca8d8f86a6d19704de1d1a06a67c38 100644 (file)
@@ -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();