Skip to content
liuyijuna edited this page Dec 30, 2016 · 4 revisions

Welcome to the Android-PullToRefreshRecyclerView wiki!

  1. avoid auto load more than 1 pages

After load more than 1 pages, PtrrView scrolled to bottom, now if user refresh the PtrrView, the View will automatically load more than 1 pages, to avoid this, before refresh, I call the mothod: mPtrrv.scrollToPosition(0); , now then View will not automatically load more than 1 pages, it just load first page, and scroll to top.

Clone this wiki locally