Skip to content

fix an IndexOutOfBoundsException bug in slow network#8

Open
ssynhtn wants to merge 1 commit intoleancloud:masterfrom
ssynhtn:master
Open

fix an IndexOutOfBoundsException bug in slow network#8
ssynhtn wants to merge 1 commit intoleancloud:masterfrom
ssynhtn:master

Conversation

@ssynhtn
Copy link
Copy Markdown

@ssynhtn ssynhtn commented Jun 13, 2017

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

@jwfing
Copy link
Copy Markdown
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