cancel
Showing results for 
Search instead for 
Did you mean: 

How to realize the handleGestureEvent in fixed touch area?

Michael Fan
Associate II

Hi,

I want to achieve this effect, when I slide from start coordinate to end coordinate ,the current screen can be changed to another screen,but the start coordinate  and end coordinate is fixed to an area,0693W000001cNbPQAU.pngplease see the annotation on the screenshot, and how can i realize it in my code?

Thanks!

1 REPLY 1
Martin KJELDSEN
Chief III

The gesture event also has coordinate information, so you could simply limit the screen transfer to the area you want.

/Martin