diff --git a/pulltorefresh/src/com/markupartist/android/widget/PullToRefreshListView.java b/pulltorefresh/src/com/markupartist/android/widget/PullToRefreshListView.java index 315ebf6..bc51d20 100644 --- a/pulltorefresh/src/com/markupartist/android/widget/PullToRefreshListView.java +++ b/pulltorefresh/src/com/markupartist/android/widget/PullToRefreshListView.java @@ -289,7 +289,7 @@ public void onScroll(AbsListView view, int firstVisibleItem, mRefreshViewImage.clearAnimation(); mRefreshViewImage.startAnimation(mFlipAnimation); mRefreshState = RELEASE_TO_REFRESH; - } else if (mRefreshView.getBottom() < mRefreshViewHeight + 20 + } else if ((mRefreshView.getBottom() < mRefreshViewHeight + 20 && mRefreshView.getTop() < 0) && mRefreshState != PULL_TO_REFRESH) { mRefreshViewText.setText(R.string.pull_to_refresh_pull_label); if (mRefreshState != TAP_TO_REFRESH) {