-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
There is posible to set others click event listeners like onLongClickListener on option item? #117
Comments
Emm... Maybe the |
I have a fragment
<com.nightonke.boommenu.BoomMenuButton
private BoomMenuButton mOpcionesProgramaBmb; @OverRide
Same result if i put the Log in the @OverRide |
Because the boom-buttons are created when BMB is clicked. So I suggest you to use |
haa ok i tried with the BoomButton, the event is triggered only if i touch in the margin of the item. So i thought to attach the event to the child view of the BoomButton, but i have the same result. There is any way to get deeper child view's? Or may be is the BoomButton layout who is intercepting the event. @OverRide |
Yes, you can get the child views of a boom-button by its methods:
|
yay, it works. But i have to attach the event to the three main components to give the experience of record a message touching the BoomButton
This will be enough for now, but if we could get access to the layout field we could attach the event to one single element. Thanks bro, you rock |
@dengue8830 |
Awsome, great work with this release. |
Hi,
|
Hey, @Gnanendra18 Could you please provide the crash-log? Thanks. |
It works, but is very ugly, can you expose the |
1. Expose the 'button' layout of boom-button for #117. 2. Boom-button is able to access from builder.
Hey, @hernanex3 . The |
Im working on an option in my bmb that allows the user to record a voice message like Whatsapp or Telegram, and i can't find the way to set listeners like onLongClickListener or onTouchListener on the bmb option item.
I know that this is a so specific need, so i understand if is no possible.
Great work with this project!
The text was updated successfully, but these errors were encountered: