Skip to content
#

android-ui

Here are 1,475 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);
    }

ConsecutiveScrollerLayout是Android下支持多个滑动布局(RecyclerView、WebView、ScrollView等)和普通控件(TextView、ImageView、LinearLayou、自定义View等)持续连贯滑动的容器,它使所有的子View像一个整体一样连续顺畅滑动。并且支持布局吸顶功能。

  • Updated Aug 11, 2021
  • Java

AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.

  • Updated May 7, 2021
  • Java

Improve this page

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

Learn more