-
Notifications
You must be signed in to change notification settings - Fork 239
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
Comments
下标值越界异常,请检查List集合或者相关的数组是否可能导致越界的问题
…------------------ 原始邮件 ------------------
发件人: "molele2"<notifications@github.com>;
发送时间: 2020年2月21日(星期五) 晚上6:45
收件人: "Dsiner/UIUtil"<UIUtil@noreply.github.com>;
抄送: "Subscribed"<subscribed@noreply.github.com>;
主题: [Dsiner/UIUtil] ScrollTab 类 IndexOutOfBoundsException (#4)
首先点个赞
ScrollTab 类 java.lang.IndexOutOfBoundsException: Index: 6, Size: 0 异常,如何判断处理
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
后来发现是当底部的tablayout view 再滑动的时候会和 scrolltab 的view 冲突导致上述的问题,还没想到解决的办法,之前其他的都没有冲突 |
使用这个结合你的这个scrolltab的时候就出出现IndexOutOfBoundsException 因为此时会出现多个view 互相之间滑动一轮再点击下面的时候就会出现此bu奔溃 |
请发下崩溃日志,定位问题 |
首先谢谢,因为我改了框架,暂时不用这个,主要是我使用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
首先点个赞
ScrollTab 类 java.lang.IndexOutOfBoundsException: Index: 6, Size: 0 异常,如何判断处理
The text was updated successfully, but these errors were encountered: