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

getItemViewType index out on bounds when call notifyDataSetChanged in RecyclingPagerAdapter #5

Open
ohowen opened this issue Jul 14, 2017 · 0 comments

Comments

@ohowen
Copy link

ohowen commented Jul 14, 2017

my getViewTypeCount > getItemViewType, it's exactly start from 0, however, when i refresh the data set(remove or add), list.get(position) cause index out of bounds in getItemViewType(int position). it's really wired and i have trouble in finding the answer.

@ohowen ohowen changed the title index out on bounds when call notifyDataSetChanged in RecyclingPagerAdapter getItemViewType index out on bounds when call notifyDataSetChanged in RecyclingPagerAdapter Jul 14, 2017
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

1 participant