diff --git a/library/src/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java b/library/src/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java index cfff83716..ab21d8672 100644 --- a/library/src/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java +++ b/library/src/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java @@ -423,7 +423,7 @@ private boolean isLastItemVisible() { * account for it and rely on the inner condition which checks * getBottom(). */ - if (lastVisiblePosition >= lastItemPosition - 1) { + if (lastVisiblePosition >= lastItemPosition) { final int childIndex = lastVisiblePosition - mRefreshableView.getFirstVisiblePosition(); final View lastVisibleChild = mRefreshableView.getChildAt(childIndex); if (lastVisibleChild != null) {