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

ScrollTab 类 IndexOutOfBoundsException #4

Open
molele2 opened this issue Feb 21, 2020 · 5 comments
Open

ScrollTab 类 IndexOutOfBoundsException #4

molele2 opened this issue Feb 21, 2020 · 5 comments

Comments

@molele2
Copy link

molele2 commented Feb 21, 2020

首先点个赞
ScrollTab 类 java.lang.IndexOutOfBoundsException: Index: 6, Size: 0 异常,如何判断处理

@DroidLin
Copy link

DroidLin commented Feb 21, 2020 via email

@molele2
Copy link
Author

molele2 commented Feb 21, 2020

后来发现是当底部的tablayout view 再滑动的时候会和 scrolltab 的view 冲突导致上述的问题,还没想到解决的办法,之前其他的都没有冲突

@molele2
Copy link
Author

molele2 commented Feb 21, 2020

使用这个结合你的这个scrolltab的时候就出出现IndexOutOfBoundsException 因为此时会出现多个view 互相之间滑动一轮再点击下面的时候就会出现此bu奔溃

@Dsiner
Copy link
Owner

Dsiner commented Feb 22, 2020

请发下崩溃日志,定位问题

@molele2
Copy link
Author

molele2 commented Feb 23, 2020

请发下崩溃日志,定位问题

首先谢谢,因为我改了框架,暂时不用这个,主要是我使用https://github.com/yingLanNull/AlphaTabsIndicator 这个框架结合scrolltab的时候出现上面的问题,后来反复找问题,发现这两个框架种的两个viewpager的下标会出席冲突导致滑动中报上面的错误,暂时没找到解决的办法,就改了框架先完成工作再说,再次感谢

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

3 participants