H hanyelmehy Active Member Licensed User Longtime User Oct 9, 2021 #1 what is the best and smooth way to detect swipe action on panel (use Panel_Touch or Gesture or any other method?) -with code only (without using additional library) -work even if panel in scroll view
what is the best and smooth way to detect swipe action on panel (use Panel_Touch or Gesture or any other method?) -with code only (without using additional library) -work even if panel in scroll view
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2021 #2 hanyelmehy said: work even if panel in scroll view Click to expand... Check CLVSwipe Upvote 0
H hanyelmehy Active Member Licensed User Longtime User Oct 10, 2021 #3 Erel said: Check CLVSwipe Click to expand... i try to use TouchPanelCreator ,but OnTouchEvent and OnInterceptTouchEvent fire only TOUCH_ACTION_DOWN ? Upvote 0
Erel said: Check CLVSwipe Click to expand... i try to use TouchPanelCreator ,but OnTouchEvent and OnInterceptTouchEvent fire only TOUCH_ACTION_DOWN ?
Erel B4X founder Staff member Licensed User Longtime User Oct 11, 2021 #4 Working with TouchPanelCreator is quite difficult, however it is the only way to implement features such as the features in B4XDrawer and CLVSwipe. As you can see in those two examples, it is possible to recognize swipes. For a simple swipe detection, you should use the gestures detection library: https://www.b4x.com/android/forum/threads/21502/#content Upvote 0
Working with TouchPanelCreator is quite difficult, however it is the only way to implement features such as the features in B4XDrawer and CLVSwipe. As you can see in those two examples, it is possible to recognize swipes. For a simple swipe detection, you should use the gestures detection library: https://www.b4x.com/android/forum/threads/21502/#content