From 2d0d1149f5eb84dd92606effb92df2b269832a32 Mon Sep 17 00:00:00 2001 From: Yusuke Iwaki Date: Tue, 7 Jul 2015 15:00:51 +0900 Subject: [PATCH] =?UTF-8?q?https://github.com/race604/Android-PullToRefres?= =?UTF-8?q?h/commit/7b3f79cb2730aaaedef8365f97b2192b89eaca93=20=EF=BC=88An?= =?UTF-8?q?droid-PullToRefresh=E3=81=AEPullRequest=20#242=EF=BC=89?= =?UTF-8?q?=E3=82=92=E5=8F=96=E3=82=8A=E8=BE=BC=E3=81=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/handmark/pulltorefresh/library/PullToRefreshBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java b/library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java index e76b234f3..a2b6a5d9a 100644 --- a/library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java +++ b/library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java @@ -1206,7 +1206,7 @@ private void pullEvent() { if (mState != State.PULL_TO_REFRESH && itemDimension >= Math.abs(newScrollValue)) { setState(State.PULL_TO_REFRESH); - } else if (mState == State.PULL_TO_REFRESH && itemDimension < Math.abs(newScrollValue)) { + } else if (mState != State.RELEASE_TO_REFRESH && itemDimension < Math.abs(newScrollValue)) { setState(State.RELEASE_TO_REFRESH); } }