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

Inconsistency detected. Invalid view holder adapter position #1

Open
sdkuldeepsaini opened this issue Apr 29, 2022 · 1 comment
Open

Comments

@sdkuldeepsaini
Copy link

sdkuldeepsaini commented Apr 29, 2022

Hi,
Whenver I am trying to remove 0th index or any index apart from last index
I am getting
java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 2(offset:2).state:3 androidx.viewpager2.widget.ViewPager2$RecyclerViewImpl{463f128 VFED

@arsalankhan994
Copy link
Owner

@sdkuldeepsaini how you are removing the fragment, can you please share the code snippet

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