This website works better with JavaScript.
Home
Explore
Help
Sign In
BWPB3
/
ytzh_Android_ZhongHui
Watch
9
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Activity
Browse Source
no message
master
lh
7 years ago
parent
8018629907
commit
0895b33d8a
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
*
/
private
boolean
isPullUp
(
)
{
return
(
mYDown
-
mLastY
)
>
=
mTouchSlop
;
if
(
mLastY
<
4
)
{
return
false
;
}
else
{
return
(
mYDown
-
mLastY
)
>
=
mTouchSlop
;
}
}
/
*
*
Write
Preview
Loading…
Cancel
Save