Currently I am using the follow code to check whether SwipeRefreshLayout should be enabled.
private void laySwipeToggle() { if (mRecyclerView.getChildCou
Use recyclerView.canScrollVertically(int direction) to check if top or bottom of the scroll reached.
direction = 1 for scroll down (bottom)
direction = -1 for scroll up (top)
if method return false that means you reached either top or bottom depends on the direction.