Thursday 11 March 2021

SwipeRefreshLayout + WebView when scroll position is at top

I'm trying to use SwipeRefreshLayout with WebView.

I'm facing the problem where in the middle of page, when user scrolls down, unwanted refresh kicks in.

How do I make the refresh event only happen when webview's scroll position is at the top. (ie, he's looking at the top portion of the page)?



from SwipeRefreshLayout + WebView when scroll position is at top

No comments:

Post a Comment