-
Notifications
You must be signed in to change notification settings - Fork 177
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
Current FloatingToolbarMenuBuilder implementation makes the app crash #32
Comments
Thank you so much for your help. I've added a check for this in: c7a6c5a I'll release 1.5.1 with this fix and your other suggestions ;) |
@rubensousa I'm having this issue with the 1.5.1 version.
You'll have to create a dummy menu and assign it from the xml file so you could create your menu manually without any crash. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If one does not set a menu in layout xml, but builds it and sets it programmatically, the app will crash, because the library calls
removeAllViews()
for the FloatingToolbar but it is null because there was no menu set before.The text was updated successfully, but these errors were encountered: