-
在onCreate方法调用autoRefresh(0, 100, 0f, false),如果在进入页面时,多次点击屏幕,有可能触发SmartRefreshLayout的interceptAnimatorByAction,导致动画被取消,不再回调onRefresh,请问这种情况有办法处理吗?
itljw updated
3 years ago
-
可能和#1197issue的情况一样。
布局在高度超过屏幕的情况下,会导致下拉的最大距离越来越小,导致达不到触发刷新的距离,最后不能刷新。
即使调整了HeaderTriggerRate,也只是在开头几页正常,再加载多几页,仍然会导致刷新不了。
如果实在没空修复,请告知最大的下拉距离是大概哪段代码检查的?
版本:
refresh-layout-kernel:2.0.1
refresh…
-
配合TabLayout+ViewPager2使用,当ViewPager没有设置确切的高度的时,RecyclerView最后一个Item无法显示完全,指定了确定的高度(如200dp)时Recyclerview内容正常
版本:`com.scwang.smartrefresh:SmartRefreshLayout:1.1.0`
GIF:
![error](https://user-imag…
-
你好,我们项目中因为一些定制需求重写了CoordinatorLayout和AppBarLayout,包名和官方AndroidX不一样,当和SmartRefreshLayout嵌套使用时上拉AppBarLayout内容的时候会触发上滑加载功能,请问有方法解决嘛?
-
addData方法无效
-
希望能适配鸿蒙系统,为国产应用提供最好用的刷新功能
-
外层布局
`
`
**viewpager2内部就一个fragment 里面放上smartrefreshlayout +rv**
**添加数据之后会出…
-
在gradle引入后发现SmartRefreshLayout类中依赖了support包,准备拉取源码手动改成androix,结果拉取源码后发现已经完成了迁移。
能否将修改同步至maven方便后续升级?enableJetifier=true会导致编译时间增加,建议尽量关闭
-
这个应该不是XBanner的问题:
试了另一个轮播图框架banner和Smart刷新框架结合,感觉UI操作很流畅没发现问题,但是还是感觉作者的XBanner要好些和Smart刷新框架结合了一下发现Smart下拉刷新动画会出现掉帧和卡顿现象,目前没找到原因.
-
@RestrictTo({LIBRARY,LIBRARY_GROUP,SUBCLASSES})
int onFinish(@NonNull RefreshLayout refreshLayout, boolean success);
onFinish 被限制访问了 如果自定义下拉列表的头和尾那