ibrahimsn98 / SmoothBottomBar

A lightweight Android material bottom navigation bar library
MIT License
1.98k stars 255 forks source link

Using with activities for java #92

Open murat-aktas opened 3 years ago

murat-aktas commented 3 years ago

I am using this toolbar with activities not with fragments in java codes but I have a problem, when I changed activity selected item is not changing, I resolved this problem with activeItem in 2. activty xlm or setItemActiveIndex in Activity but I couldnt resolve that when changed active item at first selecting 2. item and just a very short time selecting 1. item and again selecting 2. item, I can see this. I think in menu xlm first starting selected item index "0" every time. Can u help me about this?