Browse Source

no message

master
lh 7 years ago
parent
commit
0895b33d8a
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      app/src/main/java/com/qhclh/ytzh/ui/RefreshLayout.java

+ 5
- 1
app/src/main/java/com/qhclh/ytzh/ui/RefreshLayout.java View File

@ -161,7 +161,11 @@ public class RefreshLayout extends SwipeRefreshLayout implements
* @return * @return
*/ */
private boolean isPullUp() { private boolean isPullUp() {
return (mYDown - mLastY) >= mTouchSlop;
if (mLastY<4){
return false;
}else {
return (mYDown - mLastY) >= mTouchSlop;
}
} }
/** /**


Loading…
Cancel
Save