SmartRefreshLayout icon indicating copy to clipboard operation
SmartRefreshLayout copied to clipboard

autoRefreshAnimationOnly 无法关闭

Open joevess opened this issue 2 years ago • 3 comments

joevess avatar Feb 08 '24 04:02 joevess

调用autoRefreshAnimationOnly之前设置状态为Refreshing可以解决此问题 binding.refreshLayout.RefreshKernelImpl().setState(RefreshState.Refreshing) binding.refreshLayout.autoRefreshAnimationOnly()

tomloveyou avatar Aug 05 '24 08:08 tomloveyou

2.1.0 和 3.0.0 版本的 autoRefreshAnimationOnly 使用 finishRefresh 无法关闭

ITJoker avatar Nov 28 '24 15:11 ITJoker

我也遇到了此问题,是因为RefreshState状态没有及时同步造成的,尝试使用finishRefresh(300),给定一个固定的300ms的延迟,能够顺利关闭动画

zjmantou1012 avatar May 19 '25 07:05 zjmantou1012