]> git.ktnx.net Git - mobile-ledger.git/commitdiff
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 4f91dd61672b7d19773eba6e422f42af3b26d6b8..32164cdc41814b52b3647a8e7a7ae8b0aa0e03c8 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();