I have a web view in which I set onTouchListener to capture swipe events on the actual view.
I also install WebViewClient in WebView to override Url loading when clicking on specific links inside webview.
The problem is that the OnTouch handler always takes the action first, and even if I return false (if not a miss), it does not send a touch event to the internal html content, and thus the link will never be clicked. If I remove onTouchListener, it works fine. Is it possible to somehow transfer the touch event to the content?
source
share