NestedRecyclerView
NestedRecyclerView copied to clipboard
能支持一下SmartRefreshLayout吗
用SmartRefreshLayout有冲突
好的,后面加一下。
smartRefreshLayout.setScrollBoundaryDecider(new ScrollBoundaryDecider() {
@Override
public boolean canRefresh(View content) {
if (recyclerView.isScrollTop()) {
return true;
}
return false;
}
@Override
public boolean canLoadMore(View content) {
return false;
}
});
可以通过这个方式解决SmartRefreshLayout的下拉刷新冲突