The Wayback Machine - http://web.archive.org/web/20211003232406/https://github.com/topics/overscroll
Skip to content
#

overscroll

Here are 13 public repositories matching this topic...

michaellee123
michaellee123 commented Dec 18, 2020

在WebView下拉刷新的时候,如果html中还有自己的下拉,那在SmartRefreshLayout中就会出现各种问题。我解决了这个问题,给大家分享一下解决方案。
首先自定义WebView,代码如下:

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.webkit.WebView;

public class MyWebView extends WebView {

    public interface RefreshStateListener {
        public void refreshState(boolean canRefresh);
    }

Improve this page

Add a description, image, and links to the overscroll topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the overscroll topic, visit your repo's landing page and select "manage topics."

Learn more