I find this way from somewhere: To have the gesture detected in a WebView, no need to subclass anything. You just need to add this in your activity: Override public boolean dispatchTouchEvent(MotionEvent e){ super. DispatchTouchEvent(e); return mGestureDetector.
OnTouchEvent(e); } Where mGestureDetector is initialized as new GestureDetector(this) on your onCreate(). This will intercept all the gesture events, give opportunity to your listener to do whatever your want with it, and send it back to WebView so behaviour won’t be affected.
I find this way from somewhere: To have the gesture detected in a WebView, no need to subclass anything. You just need to add this in your activity: @Override public boolean dispatchTouchEvent(MotionEvent e){ super. DispatchTouchEvent(e); return mGestureDetector.
OnTouchEvent(e); } Where mGestureDetector is initialized as new GestureDetector(this) on your onCreate(). This will intercept all the gesture events, give opportunity to your listener to do whatever your want with it, and send it back to WebView so behaviour won’t be affected.
Done that just today: private final GestureDetector mGestureDetector = new GestureDetector(new CustomGestureListener()); @Override public boolean onTouchEvent(MotionEvent event) { super. OnTouchEvent(event); return mGestureDetector. OnTouchEvent(event); } private class CustomGestureListener extends GestureDetector.
SimpleOnGestureListener { // override this method: onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) }.
To have the gesture detected in a WebView, no need to subclass anything. Where mGestureDetector is initialized as new GestureDetector(this) on your onCreate(). This will intercept all the gesture events, give opportunity to your listener to do whatever your want with it, and send it back to WebView so behaviour won’t be affected.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.