Hello guys.
I'm working on an android application, and test it on an emulator, because I don't have physical android device.
So, I have a button, and I set a click listener on it. Does it mean that it will work only when the user pushes the click button on his device, or it will work also when he taps the button (the tap is touch event right?)? Also when I set a touch listener to the button, and when I click with the cursor on the button (on the emulator), it fires the two events onClick and onTouch.
Do I need to have the two listeners, because I want to work on click and touch, but I don't know its behavior on a real device.
Thank you.