Close menu from code
Closed this issue · 2 comments
avalenzuelac commented
Hi bro!
I appreciate so much your help.. How can I close the menu from the code?
Thanks!
BrotherV commented
Hi my friend, if you want to close menu programmaticaly just use performClick() method. It will close the menu If it's open.
avalenzuelac commented
if (menu.isEnabled()){ menu.performClick(); }
This was what I needed, Thanks bro!