diff --git a/library/src/main/java/com/cleveroad/adaptivetablelayout/AdaptiveTableLayout.java b/library/src/main/java/com/cleveroad/adaptivetablelayout/AdaptiveTableLayout.java index 6315e3e..7eeadb6 100644 --- a/library/src/main/java/com/cleveroad/adaptivetablelayout/AdaptiveTableLayout.java +++ b/library/src/main/java/com/cleveroad/adaptivetablelayout/AdaptiveTableLayout.java @@ -1643,12 +1643,8 @@ public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float ve @Override public void notifyDataSetChanged() { - recycleViewHolders(true); - mVisibleArea.set(mState.getScrollX(), - mState.getScrollY(), - mState.getScrollX() + mSettings.getLayoutWidth(), - mState.getScrollY() + mSettings.getLayoutHeight()); - addViewHolders(mVisibleArea); + initItems(); + notifyLayoutChanged(); } @Override