Skip to content
New issue

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

fileAdapter.getItemData(i) 报错 java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 #52

Closed
chengzhuangjie opened this issue Apr 6, 2022 · 2 comments

Comments

@chengzhuangjie
Copy link

No description provided.

@youlookwhat
Copy link
Owner

感谢反馈,是的,小概率会发生这样的问题,我马上处理一下发一个版本

@youlookwhat
Copy link
Owner

@chengzhuangjie 可以依赖最新的版本哈:implementation 'com.github.youlookwhat:ByRecyclerView:1.3.1'

然后需要对getItemData()得到的数据做下非空判断。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants