shalskar / PeekAndPop

497 stars 65 forks source link

setOnLongHoldListener fires repeatedly #7

Closed AngleV closed 8 years ago

AngleV commented 8 years ago

as long as the user has his finger over a view the onLongHold fires repeatedly. I am trying to implement a short vibrate as soon as the user holds his finger on the view but only once. is it possible to add a method so that to stop timers after first fire and reset them if user hold again on the view ?

AngleV commented 8 years ago

i should read the documentation first....

receiveMultipleEvents do the job

AngleV commented 8 years ago

i should read the documentation first....

receiveMultipleEvents do the job