aurelhubert / ahbottomnavigation

A library to reproduce the behavior of the Bottom Navigation guidelines from Material Design.
3.83k stars 682 forks source link

wrong item selected #360

Open golanir opened 6 years ago

golanir commented 6 years ago

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