So, I'm trying to use the overlay view of gestures in android to do swipe. So when the user โchecksโ, he executes a certain code, and when they scroll to the right, he executes another code. I tried declaring gestureoverlay as follows:
GestureOverlayView gest = (GestureOverlayView) findViewById(R.id.hatgest);
But then I donโt know where to go from there, and I canโt find anything useful in the developer guide or on the Internet. For a button, I would usually use "onclicklistener", how would I do this with overlay gestures? Does anyone have code examples that I can use? Thanks
android
Peter
source share