Page 1 of 1

What's the best way to implement the concept of a long touch press?

Posted: 05 Aug 2019, 15:51
by darthmaule2
In WPF, we implemented a class which consumed the TouchDown, TouchMove and TouchUp events and had a bunch of logic to determine if a specific TouchDown was still valid after a set duration we considered to be a "long press".

Is there a better way to do this?

It would really nice to have this functionality built-in to the framework somehow! :)

Re: What's the best way to implement the concept of a long touch press?

Posted: 08 Aug 2019, 12:28
by jsantos
Although we provide support for manipulations, for this specific case the approach you are following (with TouchDown) is the recommened way. I see there is a Holding in UWP. We could implement something like that in Noesis. Could you please open a ticket?

Re: What's the best way to implement the concept of a long touch press?

Posted: 08 Aug 2019, 18:33
by darthmaule2

Re: What's the best way to implement the concept of a long touch press?

Posted: 08 Aug 2019, 21:50
by jsantos
Thanks!