-
Notifications
You must be signed in to change notification settings - Fork 363
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
IllegalArgumentException: you can't move above of maxItemCount #34
Comments
Just came across the same crash. Did you find a clue on where to look? |
@qmetzler-luna Unfortunately not |
Have the same problem. Did you find solution? |
OMG |
Having same issue here. Please who managed to find a solution to this? |
Ok. I think I found a work around on this. I basically opened the AbstractPositionIterator.java file and rewrote the
to
and that fixed it for me. |
it sames that the pos belong to the previous data. For example, you put datas which size is 20, and scroll it to the bottom, so the current pos is 20, but now you want to update the recycleview, you put another datas which size is 10, so the pos 20 is big than 10. so you'd betther scroll the recycleview to the start positon. public void setDatas(List list) { |
having the same problem. This issue occurs, when first-time data added to list and then immediately cleared, After clearing data list then again adding data to list. How can I fix this issue? |
I place recyclerview in NestedScrollView to fix it, you can try |
Just setAdapter() every time instead of notifyDataSetChange() . it solved my crash. |
Thank you @AmritpalSingh5 it working perfectly!! |
I'm getting the following error from users on many api's and many different devices. Any idea why?
The text was updated successfully, but these errors were encountered: