Hi all,
I'm looking for the best (easiest?) way to add 2-finger swipes to my sketching app so the user can navigate between pages of sketches.
The "sliding panels" libs and classes that I've seen so far do their sliding based on 1-finger swipes.
In my case, 1 finger means "I'm drawing on the canvas", so I'd like to trigger the slide on a 2-finger swipe.
I'm hoping I can combine one of the sliding-panel libs or classes with a gesture library (e.g. Gesture Detector) to get this result.
On a related note, there could be dozens of panels involved. Is there a way to dynamically just load 3 panels at once (the current one, plus the adjacent ones), to conserve memory?
Thanks!
I'm looking for the best (easiest?) way to add 2-finger swipes to my sketching app so the user can navigate between pages of sketches.
The "sliding panels" libs and classes that I've seen so far do their sliding based on 1-finger swipes.
In my case, 1 finger means "I'm drawing on the canvas", so I'd like to trigger the slide on a 2-finger swipe.
I'm hoping I can combine one of the sliding-panel libs or classes with a gesture library (e.g. Gesture Detector) to get this result.
On a related note, there could be dozens of panels involved. Is there a way to dynamically just load 3 panels at once (the current one, plus the adjacent ones), to conserve memory?
Thanks!