SHSwipeRefreshLayout icon indicating copy to clipboard operation
SHSwipeRefreshLayout copied to clipboard

Android 升级版 SwipeRefreshLayout,支持RecyclerView、ScrollView等大部分组件,下拉刷新(Refresh)和上拉加载(Loadmore),支持自定义HeaderView和FooterView

Results 18 SHSwipeRefreshLayout issues
Sort by recently updated
recently updated
newest added

点击按钮或第一次进入界面调用onRefresh 没有下拉刷新的动作。请问如何调用。谢谢。

java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. at android.view.ViewGroup.addViewInner(ViewGroup.java:4471) at android.view.ViewGroup.addView(ViewGroup.java:4312) at android.view.ViewGroup.addView(ViewGroup.java:4284) at com.scu.miomin.shswiperefresh.core.SHSwipeRefreshLayout.setGuidanceView(SHSwipeRefreshLayout.java:217) at com.scu.miomin.shswiperefresh.core.SHSwipeRefreshLayout.onAttachedToWindow(SHSwipeRefreshLayout.java:202)

下拉后马上往上滑,加载动画没有随列表上升而消失,一直在转,除非再次下拉

The specified child already has a parent. You must call removeView() on the child's parent first. at com.scu.miomin.shswiperefresh.core.SHSwipeRefreshLayout.setGuidanceView(SHSwipeRefreshLayout.java:217) at com.scu.miomin.shswiperefresh.core.SHSwipeRefreshLayout.onAttachedToWindow(SHSwipeRefreshLayout.java:202) 我用途是一个tablayout+viewpager+recyclerview 做的联动下拉刷新,在viewpager二次滑动时(既首次滑动某到某viewpager是没问题,例如从pager1滑动到pager2,pager2滑动到pager1),会出现这个问题。 因为首次滑动正常排除了我布局的问题,感觉是不是说在销毁的时候,没有移除父view;; private void setGuidanceView() { // SetUp HeaderView...

下拉刷新的时候会触发点击效果,然后进行跳转,如何在下拉的时候屏蔽点击效果?