Devlight / Devlight/NavigationTabStrip
Using deselect in onStartTabSelected throws IndexOutOfBounds exeption
Open
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 310
- PR merge metrics
- No merged PRs in 30d
Description
As the title says. Using NavigationTabBar#deselect when onStartTabSelected gets called.
It will not throw the error in onEndTabSelected. The stacktrace said the error came from line 868 and 877 in NavigationTabBar.java
I dug around a bit in your code and adding a ```&& mIndex != INVALID_INDEX``` to the if statement, above the two mentioned lines, fixed the issue.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.