Loading core/java/android/view/ViewGroup.java +7 −1 Original line number Diff line number Diff line Loading @@ -2836,7 +2836,9 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager } else { predecessor.next = next; } if (!target.isRecycled()) { target.recycle(); } target = next; continue; } Loading Loading @@ -9050,6 +9052,10 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager return target; } public boolean isRecycled() { return child == null; } public void recycle() { if (child == null) { throw new IllegalStateException("already recycled once"); Loading Loading
core/java/android/view/ViewGroup.java +7 −1 Original line number Diff line number Diff line Loading @@ -2836,7 +2836,9 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager } else { predecessor.next = next; } if (!target.isRecycled()) { target.recycle(); } target = next; continue; } Loading Loading @@ -9050,6 +9052,10 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager return target; } public boolean isRecycled() { return child == null; } public void recycle() { if (child == null) { throw new IllegalStateException("already recycled once"); Loading