LongClick event also triggers Click event

后端 未结 3 523
失恋的感觉
失恋的感觉 2021-02-13 10:03

I use onLongClick and onClick events of a button to get user inputs. Whenever; the user long click and triggers onLongClick event, the onClick event is also triggered. I couldn\

3条回答
  •  心在旅途
    2021-02-13 10:35

    here is a brief summary regarding touch event: http://rxwen.blogspot.com/2010/10/android-touch-event-summary.html

提交回复
热议问题