SmartRefreshLayout
SmartRefreshLayout copied to clipboard
autoRefreshAnimationOnly 无法关闭
调用autoRefreshAnimationOnly之前设置状态为Refreshing可以解决此问题 binding.refreshLayout.RefreshKernelImpl().setState(RefreshState.Refreshing) binding.refreshLayout.autoRefreshAnimationOnly()
2.1.0 和 3.0.0 版本的 autoRefreshAnimationOnly 使用 finishRefresh 无法关闭
我也遇到了此问题,是因为RefreshState状态没有及时同步造成的,尝试使用finishRefresh(300),给定一个固定的300ms的延迟,能够顺利关闭动画