ImageView with click and longpress events

You must Login before you can answer or comment on any questions.

I have an image with a 'click' event listener and a 'longpress' event listener. Both events fire ok, however when I (or a user) attempts to fire the event 'longpress' it will fire, but so does the 'click' event. Is it possible to not have the 'click' event fire when attempting to fire the 'longpress' event? thanks

— asked 12 months ago by Adam Francis
2 Comments
  • just found about this by myself - try to change 'click' to 'singletap' - seems to work!

    — commented 11 months ago by Christian Sigl

  • it worked for me too!! many thanks for responding.

    — commented 11 months ago by Adam Francis

Your Answer

Think you can help? Login to answer this question!