在nestedScrollView内

在nestedScrollView内

Actually this is an issue which was discussed in this thread, and according to this Google engineer, 就像在桌面上一样,您将浏览器窗口的大小调整为页面的高度,以使其无法垂直滚动.滚动是在NestedScrollView中进行的,而不是在Webview中进行的.因此,页面中没有js的结果是看不到任何滚动事件,因此不知道您已经滚动到页面的末尾加载更多内容. This is as if in desktop, you resize the browser window to height of the page so it can't scroll vertically. The scrolling is happening in NestedScrollView rather than webview itself. So a consequence of no js in the page sees any scroll events, so it doesn't know you've scrolled to the end of the page load more content.因此,最重要的是,请勿将WebView放在NestedScrollView内.您应该让WebView滚动网页本身.祝您编码愉快! :)So, bottom line is, DO NOT put your WebView inside NestedScrollView. You should let WebView scroll the web page itself. Happy coding! :) 这篇关于webview的高度在nestedScrollView内无限增长的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-04 22:28