Revert "comment-out a cardview measure work-around that seems no longer necessary"
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 27 Feb 2019 19:32:19 +0000 (21:32 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 27 Feb 2019 19:32:19 +0000 (21:32 +0200)
This reverts commit 1a7198d1b05f0d7856539bb2bdf4bfaa4030a7e2.

app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java

index 45d63af..9d27ecf 100644 (file)
@@ -79,9 +79,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();