Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4771b55d authored by Alan Viverette's avatar Alan Viverette
Browse files

Scrapping the view at position zero is still position zero

BUG: 16418789
Change-Id: I8334d6b37efa1f853152ef2cea041db69e41d24e
parent a2897ea9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1161,7 +1161,7 @@ public class ListView extends AbsListView {

            if (recycleOnMeasure() && mRecycler.shouldRecycleViewType(
                    ((LayoutParams) child.getLayoutParams()).viewType)) {
                mRecycler.addScrapView(child, -1);
                mRecycler.addScrapView(child, 0);
            }
        }