PullLoadMoreRecyclerView
PullLoadMoreRecyclerView copied to clipboard
下拉分页后,有时候向下滑动,出现下拉刷新
下拉分页后,有时候向下滑动,出现下拉刷新;应该在顶部才出现下拉刷新才对
对,这里有问题,同求修改?!
@lgj1020 在PullLoadMoreRecyclerView#addOnScrollListener中添加 //解决下拉刷新冲突 int topRowVerticalPosition = (recyclerView == null || recyclerView.getChildCount() == 0) ? 0 : recyclerView.getChildAt(0).getTop(); mSwipeRefreshLayout.setEnabled(topRowVerticalPosition >= 0);