We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我做删除时, notifyItemRemoved(position);会有闪烁,是什么原因呢,谢谢
The text was updated successfully, but these errors were encountered:
将 PagerGridLayoutManager 中的 预存储View 这段代码注释掉就可以了 // if (mOffsetX == 0 && mOffsetY == 0) { // // 预存储View // for (int i = 0; i < mOnePageSize; i++) { // if (i >= getItemCount()) break; // 防止数据过少时导致数组越界异常 // View view = recycler.getViewForPosition(i); // addView(view); // measureChildWithMargins(view, mWidthUsed, mHeightUsed); // } // }
Sorry, something went wrong.
No branches or pull requests
我做删除时, notifyItemRemoved(position);会有闪烁,是什么原因呢,谢谢
The text was updated successfully, but these errors were encountered: