X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Fui%2Ftransaction_list%2FTransactionListAdapter.java;h=6c245644d55db2742ca11d5ef7796c31a75d8461;hp=0e79b7ae24223cb9d5669043f133d11688516a43;hb=11c8dff16901782f69287854cb4788ddf8d932c2;hpb=d6a89986ed3ce01632c2b3313f55c60a8f0a5cc0 diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java index 0e79b7ae..6c245644 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java @@ -48,27 +48,23 @@ public class TransactionListAdapter extends RecyclerView.Adapter 0) - previousItem = TransactionListViewModel.getTransactionListItem(position - 1); // Log.d("transactions", String.format("Filling position %d with %d accounts", position, // tr.getAccounts().size())); TransactionLoader loader = new TransactionLoader(); - loader.execute( - new TransactionLoaderParams(tr, previous, holder, position, boldAccountName)); + loader.execute(new TransactionLoaderParams(tr, holder, position, boldAccountName, + item.isOdd())); // WORKAROUND what seems to be a bug in CardHolder somewhere // when a view that was previously holding a delimiter is re-purposed @@ -121,18 +117,12 @@ public class TransactionListAdapter extends RecyclerView.Adapter