SmartRefreshLayout
SmartRefreshLayout copied to clipboard
二级刷新时,使用setRefreshContent将根布局为CoordinatorLayout的layout设置为刷新布局会导致无法滑动
trafficstars
不过我是使用DataBinding来转换布局,再设置给SmartRefreshLayout的,不知道是滑动问题还是DataBinding转换的问题?好像NestedScrollView也会无法滚动。
不使用TwoLevelHeader,即使setRefreshContent也能正常滚动。
LayoutStudioBinding binding= DataBindingUtil.inflate(getLayoutInflater(), R.layout.layout_studio, getBinding().srlStudio, false); getBinding().srlStudio.setRefreshContent(binding.getRoot());
我看到#555的bug,估计是需要再套一层FrameLayout才能解决
还是不行