ibrahimsn98 / SmoothBottomBar

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

Reference bottom bar menu item ID for ShowcaseView target #87

Closed alexandrosmagos closed 3 years ago

alexandrosmagos commented 3 years ago

I've spend the whole day trying and searching on how to get the bar's view and reference one of the tabs, just so I can use it as a target in MaterialShowcaseView, to use in a user tutorial. image I wont add code, as I have it set up the same with the (Use SmoothBottomBar with Navigation Components.), but in java. image

I love this bar, and the MaterialShowcaseView as it can help guide the first time user, but been stuck on this for a while now. Any help is appreciated

alexandrosmagos commented 3 years ago

No longer need this. Closing.

henrichg commented 2 years ago

Please I need this. How to get item view? Thank you

brookmg commented 2 years ago

Hey @Glutius, Can you show how you solved this issue? If you did that is.

alexandrosmagos commented 2 years ago

I didn't find a way to do that exactly, but instead of showing the user the bar, I made a full user intro in the beginning that explains everything in the first screen, then after the last tip, changes to the second tab/screen and continues the tips/tutorial and so on for each screen. imo, this is better if you wanna explain some stuff in order, rather than the tips opening in whatever order the user presses the tabs.

henrichg commented 2 years ago

Hm, not good. Currently I have commented tap target for SmothBottomBar items. Maybe it s not problem for users. :-) But thank you for help.