Unsolved TapHandler on android getting time held
-
Arlight, the value timeHeld when checked within onLongPressed seems to always be a random value less than 1 ideas?
Also, when checking point.timeHeld onGrabChanged it always returns 0
Update: couldn't get time from timeHeld so implemented our own timer on the backend side and are executing its subroutines from QML when needed (it's a real pity).
Now, another problem, when user holds Tap-Area for few seconds onGrabChanged is not fired at all, instead.. 'onTapped' fires; what's going on here? Tried changing policies ->it's the same.
On Android scenario:
- user taps -> long press is fired after some time
now, we're after getting for how long it was pressed
and now - onGrabChanged would never fire if held for few seconds, instead
3)onTapped fires AND the timeHeld within the event point param is ALWAYS 0.
- user taps -> long press is fired after some time
-
This post is deleted! -
Qeustion is : how to properly access timeHeld during a long-press/hold from QML