Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for BottomNavigation menu items #137

Open
dimgrav opened this issue Mar 19, 2018 · 1 comment
Open

Support for BottomNavigation menu items #137

dimgrav opened this issue Mar 19, 2018 · 1 comment

Comments

@dimgrav
Copy link

dimgrav commented Mar 19, 2018

Hi,

I want to implement an app tour which mainly includes BottomNavigation items. I casted MenuItem to View like the code snippet below, but it doesn't do the trick (which I didn't expect it to do anyway).

TourGuide tourHandler = TourGuide.init(this).with(TourGuide.Technique.CLICK)
                .setPointer(new Pointer())
                .setToolTip(new ToolTip().setTitle("Title").setDescription("Description"))
                .setOverlay(new Overlay())
                .playOn(((View)bottomNav.getMenu().getItem(2)));

playOn(bottomNav.getMenu().getItem(2).getActionView()) returns NullPointerException as well.

Is there support for BottomNavigation and OptionsMenu?

@jackyhieu1211-hn
Copy link

try change ((View)bottomNav.getMenu().getItem(2)) to findViewbyId

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants