Skip to content

Commit

Permalink
race604@7b3f79c (Android-PullToRefreshのPullRequest chrisbanes#242)を取り込み
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuke Iwaki committed Jul 7, 2015
1 parent 3bd8ef6 commit 2d0d114
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 2d0d114

Please sign in to comment.