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

DroppyMenuPopup.getMenuView() returns null #58

Open
orwa-te opened this issue Oct 28, 2017 · 1 comment
Open

DroppyMenuPopup.getMenuView() returns null #58

orwa-te opened this issue Oct 28, 2017 · 1 comment

Comments

@orwa-te
Copy link

orwa-te commented Oct 28, 2017

Hi,
I have a custom layout in first menu item inside DroppyMenuPopup and I am trying to access the inner views inside my custom layout after accessing my root view of the droppyMenuPopup:
DroppyMenuPopup droppyMenuPopup=droppyBuilder.build(); View menuPopupView=droppyMenuPopup.getMenuView(); Log.v(LOG_TAG,"view_id"+menuPopupView.getId());
What I get is a NullPointerException because menuPopupView is null, What is the problem?

@shehabic
Copy link
Owner

Before it's shown the view is null this is an expected behaviour

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