Skip to content

Commit 2d0d114

Browse files
author
Yusuke Iwaki
committed
race604@7b3f79c (Android-PullToRefreshのPullRequest chrisbanes#242)を取り込み
1 parent 3bd8ef6 commit 2d0d114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ private void pullEvent() {
12061206

12071207
if (mState != State.PULL_TO_REFRESH && itemDimension >= Math.abs(newScrollValue)) {
12081208
setState(State.PULL_TO_REFRESH);
1209-
} else if (mState == State.PULL_TO_REFRESH && itemDimension < Math.abs(newScrollValue)) {
1209+
} else if (mState != State.RELEASE_TO_REFRESH && itemDimension < Math.abs(newScrollValue)) {
12101210
setState(State.RELEASE_TO_REFRESH);
12111211
}
12121212
}

0 commit comments

Comments
 (0)