开发者

Gesture detector with scroll view in android

开发者 https://www.devze.com 2023-01-31 10:22 出处:网络
I am trying to implement Webview with scroll view to detect gesture detector from swipe left to right and right to left how to do? can an开发者_开发百科ybody give exampleWebView already scrolls, so yo

I am trying to implement Webview with scroll view to detect gesture detector from swipe left to right and right to left how to do? can an开发者_开发百科ybody give example


WebView already scrolls, so you do not need the ScrollView.

WebView already handles swipes to move left and right, so you do not need the gesture detector.

Hence, your solution is just a plain WebView.

0

精彩评论

暂无评论...
验证码 换一张
取 消