set On Click Listener
open override fun setOnClickListener(onClickListener: View.OnClickListener?)
Content copied to clipboard
Registers a callback to be invoked when this FabOption or its label is clicked. The default behavior the FabOption will be executed before this custom callback.
Note: Only one FabOption can be clicked per ExpandableFab opening or closing animation. For example, if you set long durations on the opening animations of the ExpandableFab, then the first clicked FabOption will fire its onClickListener, and all subsequent clicks to this or other FabOptions will be ignored until the ExpandableFab has completely finished its animation (this is to prevent a user from spam clicking multiple FabOptions during long animations).