You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.
W/VirtualLayoutManager: java.lang.IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling androidx.recyclerview.widget.RecyclerView 滑动得时候抛异常了 在onBindViewHolder 里面调用了刷新
@OverRide
public void onBindViewHolder(@nonnull RecyclerView.ViewHolder holder, int position) {
adapter.notifyDataSetChanged();
}
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
item是一个recycleview 把最外层的复用池 传给作为item的recycleview 多滑动几次布局 会出现卡顿。我把作为item的recycleview 不设置复用池 就不会出现卡顿。如果里面的item需要设置复用池 如何和外层公用一个。谢谢!!! @ @longerian
The text was updated successfully, but these errors were encountered: