🔥下拉刷新、上拉加载、二级刷新、淘宝二楼、RefreshLayout、OverScroll,Android智能下拉刷新框架,支持越界回弹、越界拖动,具有极强的扩展性,集成了几十种炫酷的Header和 Footer。
24.9k
stars
4.95k
forks
source link
二级刷新时,使用setRefreshContent将根布局为CoordinatorLayout的layout设置为刷新布局会导致无法滑动 #1512
Open
getglory opened 1 year ago
不过我是使用DataBinding来转换布局,再设置给SmartRefreshLayout的,不知道是滑动问题还是DataBinding转换的问题?好像NestedScrollView也会无法滚动。
不使用TwoLevelHeader,即使setRefreshContent也能正常滚动。
LayoutStudioBinding binding= DataBindingUtil.inflate(getLayoutInflater(), R.layout.layout_studio, getBinding().srlStudio, false); getBinding().srlStudio.setRefreshContent(binding.getRoot());