Forums Register Login

events button

+Pie Number of slices to send: Send
I'm trying to capture events pushing and leaving a button or image button but I don't know how to do it....please can somebody help me?
And maybe an event when I have my finger over the button...
Thanks!
+Pie Number of slices to send: Send
Check their respective javadocs - android.widget.Button has a whole bunch of listeners you can add to it, many of them inherited from the android.view.View class (like setOnClickListener and setOnHoverListener).
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 470 times.
Similar Threads
Semantic Events
setting up cell in JTable as a JButton
label a. events
New Browser Window
UI events to consider in all apps
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 03:40:42.