NestedRecyclerView icon indicating copy to clipboard operation
NestedRecyclerView copied to clipboard

能支持一下SmartRefreshLayout吗

Open moyulong opened this issue 4 years ago • 2 comments

用SmartRefreshLayout有冲突

moyulong avatar Apr 29 '20 08:04 moyulong

好的,后面加一下。

JasonGaoH avatar May 12 '20 10:05 JasonGaoH

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的下拉刷新冲突

thisleo avatar Aug 19 '20 08:08 thisleo