SmartRefreshLayout icon indicating copy to clipboard operation
SmartRefreshLayout copied to clipboard

二级刷新时,使用setRefreshContent将根布局为CoordinatorLayout的layout设置为刷新布局会导致无法滑动

Open getglory opened this issue 2 years ago • 2 comments
trafficstars

不过我是使用DataBinding来转换布局,再设置给SmartRefreshLayout的,不知道是滑动问题还是DataBinding转换的问题?好像NestedScrollView也会无法滚动。

不使用TwoLevelHeader,即使setRefreshContent也能正常滚动。

LayoutStudioBinding binding= DataBindingUtil.inflate(getLayoutInflater(), R.layout.layout_studio, getBinding().srlStudio, false); getBinding().srlStudio.setRefreshContent(binding.getRoot());

getglory avatar Apr 11 '23 13:04 getglory

我看到#555的bug,估计是需要再套一层FrameLayout才能解决

getglory avatar Apr 11 '23 13:04 getglory

还是不行

getglory avatar Apr 11 '23 13:04 getglory