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

fix an IndexOutOfBoundsException bug in slow network #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ssynhtn
Copy link

@ssynhtn ssynhtn commented Jun 13, 2017

mList.clear()之后, 因为没有调用notifyDataSetChanged(), 这个时候可以点击RecyclerView里的item, 但是如果网络比较慢, findInBackground()还没有完成的话, 这个时候Adapter里面对mList.get()调用就会出现IndexOutOfBoundsException

@jwfing
Copy link
Contributor

jwfing commented Jun 16, 2021

@ssynhtn thanks for your contribution, I have approved this PR, but seems there are something conflicted. Could you please fix it and re-pull again?

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

Successfully merging this pull request may close these issues.

2 participants