diff --git a/src/com/simple/colorful/setter/ViewGroupSetter.java b/src/com/simple/colorful/setter/ViewGroupSetter.java index 32bf532..9276c8a 100644 --- a/src/com/simple/colorful/setter/ViewGroupSetter.java +++ b/src/com/simple/colorful/setter/ViewGroupSetter.java @@ -176,6 +176,7 @@ private void clearRecyclerViewRecyclerBin(View rootView) { localMethod.invoke(localField.get(rootView), new Object[0]); Log.e("", "### 清空RecyclerView的Recycer "); rootView.invalidate(); + ((RecyclerView) rootView).getRecycledViewPool().clear(); } catch (NoSuchFieldException e1) { e1.printStackTrace(); } catch (ClassNotFoundException e2) {