Replies: 2 comments 5 replies
-
Yes, SwipeGestureRecognizer might be the solution for your problem, and it is in the master branch right now. |
Beta Was this translation helpful? Give feedback.
-
I managed to get it working on WT32-SC01-Plus, ESP32S3 based device. First time, it started scrolling and then panicked with the following.
After that it worked fine (nothing changed, just reset the device). Another note, it's not always 'catching' the swipe. As I thought, it seems like functionality with room for tuning, so if you can expose parameters to tune it, that could be very helpful. I guess the touch on embedded devices is not as good and accurate as on tablets/mobile phones, could be pretty noisy data. Also: Change the code to vertical swipe, from time to time I get the following when swiping up (so far happened only when up).
|
Beta Was this translation helpful? Give feedback.
-
On an embedded device with touch, I'd like to implement the behavior of switching across pages (like in mobile phones main view showing applications that allows switching between pages), so touching, scrolling to the side and lifting the finger switch to a different page.
Similar to the Printer App Demo, but instead of using buttons to switch between pages, to move using a flick gesture.
The flickable component is the closest I found but it scrolls, and doesn't let me force certain boundaries across pages.
Also, the screens I want to switch among also include standard controls, so need to have standard touch still pass to all touch areas under the larger area, so I can't even implement it myself using TouchArea on the entire screen because those other areas below will not get the events.
Any way to achieve what I want? Somehow catch the event of the flickable instead of letting it control the view?
Edit: I found #6005,
SwipeGestureRecognizer
, is that what I'm looking for?Beta Was this translation helpful? Give feedback.
All reactions