Closed junyao-yu closed 4 years ago
阻尼问题可以通过 refreshLayout.setDragRate(0.5f)
进行设置,或者在布局文件中设置属性app:srlDragRate="value"
进行设置.
一样的问题,请问解决了吗
一样的问题,请问解决了吗
没有,后来不采用这种嵌套来做了。
同样遇到了该问题,你是不使用NestedScrollView了么?
同样遇到了该问题,你是不使用NestedScrollView了么?
请问如何解决的
一样的问题,请问解决了吗
请问解决了吗
一样的问题,请问解决了吗
请问解决了吗
没有。后面改成不做嵌套了
这是正常现象
这是正常现象
大佬,这个有办法处理吗,涉及到很古老的代码,需要处理一下。滑动次数多了之后,阻尼系数越来越大。
同样遇到了这个问题,我改成了把整个NestedScrollView包裹在了SmartRefreshLayout里面
<androidx.core.widget.NestedScrollView android:id="@+id/mNetView" android:fillViewport="true" android:focusableInTouchMode="true" android:focusable="true" android:layout_width="match_parent" android:layout_height="match_parent">
NestedScrollView嵌套SmartRefreshLayout,导致两个问题: 1、无法惯性滑动到底部加载更多 2、手动上拉加载后,再次下拉刷新阻力很大。