I have one View for which both onClickListener and onLongClickListener implemented. When I long click the view onClickListener triggers also, I don’t need it to be executed when I do long click. Any ways to prevent it from being executed at time of long click?
I have one View for which both onClickListener and onLongClickListener implemented. When I long
Share
return true;from thelong clickcallback to signal that you’ve handled the event