Skip to content
#

pulltorefresh

Here are 64 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);
    }

SSPullToRefresh makes PullRefresh easy to use, you can provide your own custom animations or set simple gifs on refresh view. The best feature is Lottie animations in refresh view, it uses lottie animations to render high quality animations on pull refresh. 🎉💥

  • Updated Aug 5, 2021
  • Kotlin

A reusable Pull to Refresh library for Android. Support RecyclerView ListView ScrollView ViewPager CoordinatorLayout. Sliding damping, supports all directions. Drag and drop sort. You can use it like a standard RecyclerView -适用于Android的下拉刷新, 加载更多库. 滑动阻尼, 支持所有方向. 支持RecyclerView ListView ScrollView ViewPager CoordinatorLayout. 拖放排序.

  • Updated Jan 10, 2021
  • Java

Improve this page

Add a description, image, and links to the pulltorefresh 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 pulltorefresh topic, visit your repo's landing page and select "manage topics."

Learn more