Skip to content

Commit 4bd5ce4

Browse files
author
TimChen
committed
test2
1 parent ab1af7d commit 4bd5ce4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

android-support/src/main/java/co/bxvip/refresh/BxRefreshLayout.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,12 @@ public void setHeaderView(final IHeaderView headerView) {
602602
}
603603

604604
public void hideRefreshLayout() {
605+
isOverScrollTopShow = false;
606+
isOverScrollBottomShow = false;
607+
setMaxHeadHeight(mOverScrollHeight);
608+
setHeaderHeight(mOverScrollHeight);
609+
setMaxBottomHeight(mOverScrollHeight);
610+
setBottomHeight(mOverScrollHeight);
605611
if (mHeadLayout != null) mHeadLayout.setVisibility(GONE);
606612
if (mBottomLayout != null) mBottomLayout.setVisibility(GONE);
607613
}

0 commit comments

Comments
 (0)