L
Lawrence D'Oliveiro
I have an Android app where the buttons respond immediately the user touches
them, rather than when they release the touch. (Why? Because that’s how the
original device that I’m emulating worked.)
Every now and then I’d touch a button once, and have it trigger twice.
Finally I had to put in a debounce: any touch-down notification I get that’s
less than 0.1 second after the previous one is ignored. That cured the
problem.
them, rather than when they release the touch. (Why? Because that’s how the
original device that I’m emulating worked.)
Every now and then I’d touch a button once, and have it trigger twice.
Finally I had to put in a debounce: any touch-down notification I get that’s
less than 0.1 second after the previous one is ignored. That cured the
problem.