aurelhubert / aurelhubert/ahbottomnavigation
wrong item selected
- Dominant language
- Java
- Stars
- 3.8k
- Forks
- 672
- PR merge metrics
- No merged PRs in 30d
Description
hi
when i go to an activity that is not in the navbar sometimes the first icon get selected and i'm unable to click on it.
bottomBar.setcurrentitem(-1) returns java.lang.ArrayIndexOutOfBoundsException: length=10; index=-1,
how can i set the bottombar to be cleared?
thanks
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported behavior with BottomBar.setCurrentItem(-1) and inspect the bottom-bar selection handling around that call. Done means clearing the selection does not throw an ArrayIndexOutOfBoundsException and does not leave the first icon incorrectly selected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100