HarinTrivedi / FABRevealMenu-master

A general purpose android UI library to show a user show menu in accordance of Floating action button with material design guidelines.
https://harintrivedi.github.io/FABRevealMenu-master/
Apache License 2.0
614 stars 117 forks source link

Detecting action when FAB is clicked and custom view is shown #21

Closed albert0m closed 5 years ago

albert0m commented 6 years ago

Is it possible to put an additional action when the fab button is clicked? adding a standard click listener doesn't work

content.bindAnchorView(button);
button.setOnClickListener(v -> myAction());
HarinTrivedi commented 5 years ago

No, it wont. As click event is only supposed to open the menu as it gets overridden in library. Sorry!