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

Getting java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 in GenericRecyclerViewAdapter on line 91 #2

Closed
abhishektiwarijr opened this issue Jun 18, 2018 · 1 comment

Comments

@abhishektiwarijr
Copy link

Please add this in GenericRecyclerViewAdapter.java: on line number 91 please
just a size check of list
@OverRide
public void onBindViewHolder(VH holder, int position) {
if (items.size() > 0) {
T item = items.get(position);
holder.onBind(item);
}
}

@LeoDroidCoder
Copy link
Owner

Resolved.
Check out 1.0.1 version

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