darthmaule2
Topic Author
Posts: 98
Joined: 23 Oct 2014, 19:54

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

05 Aug 2019, 15:51

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! :)
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

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

08 Aug 2019, 12:28

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?
 
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

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

08 Aug 2019, 21:50

Thanks!

Who is online

Users browsing this forum: Google [Bot], vinick and 14 guests