Is there anyway to remove an onTouchListener from a view object?

So in you activity you would set your overridden onTouchListener: mWebView. SetOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { v. SetOnTouchListener(mWebView.

MOnTouchListener); return false; } }) And you would have to make a new class, extending WebView. And within it you would define an OnTouchListener public final OnTouchListener mOnTouchListener = new OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent rawEvent) { return false; } } Setting the ontouchlistener to null doesn't reset it to the default definition. You still have to provide an actual listener.

So in you activity you would set your overridden onTouchListener: mWebView. SetOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { v. SetOnTouchListener(mWebView.

MOnTouchListener); return false; } }); And you would have to make a new class, extending WebView. And within it you would define an OnTouchListener. Public final OnTouchListener mOnTouchListener = new OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent rawEvent) { return false; } }; Setting the ontouchlistener to null doesn't reset it to the default definition.

You still have to provide an actual listener.

– NotACleverMan May 31 at 7:58 thanks for the help, but I've just tested it and I'm still having the same functionality issues. (For example, double tap to zoom doesn't work) – NotACleverMan May 31 at 8:05 how about make custom onTouchListener and return false? – HERO May 31 at 8:27 Then the webview still thinks it has an onTouchListener and won't do it's default functionality.

– NotACleverMan May 31 at 8:47.

And you would have to make a new class, extending WebView. And within it you would define an OnTouchListener. Setting the ontouchlistener to null doesn't reset it to the default definition.

You still have to provide an actual listener.

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.

Related Questions