comment-out a cardview measure work-around that seems no longer necessary
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 18 Feb 2019 21:19:38 +0000 (23:19 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 18 Feb 2019 21:19:38 +0000 (23:19 +0200)
app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java

index 4f91dd6..32164cd 100644 (file)
@@ -77,9 +77,9 @@ public class TransactionListAdapter extends RecyclerView.Adapter<TransactionRowH
                 // WORKAROUND what seems to be a bug in CardHolder somewhere
                 // when a view that was previously holding a delimiter is re-purposed
                 // occasionally it stays too short (not high enough)
-                holder.vTransaction.measure(View.MeasureSpec
-                                .makeMeasureSpec(holder.itemView.getWidth(), View.MeasureSpec.EXACTLY),
-                        View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED));
+//                holder.vTransaction.measure(View.MeasureSpec
+//                                .makeMeasureSpec(holder.itemView.getWidth(), View.MeasureSpec.EXACTLY),
+//                        View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED));
                 break;
             case DELIMITER:
                 Date date = item.getDate();