mirror of
https://github.com/Tencent/QMUI_Android.git
synced 2026-10-17 04:31:16 +08:00
npe
This commit is contained in:
+3
@@ -446,6 +446,9 @@ public class QMUIContinuousNestedScrollLayout extends CoordinatorLayout implemen
|
||||
if(mBottomView == null){
|
||||
return Math.max(0, ((View) mTopView).getHeight() - getHeight());
|
||||
}
|
||||
if(mTopView == null){
|
||||
return 0;
|
||||
}
|
||||
int contentHeight = mBottomView.getContentHeight();
|
||||
if (contentHeight != IQMUIContinuousNestedBottomView.HEIGHT_IS_ENOUGH_TO_SCROLL) {
|
||||
return Math.max(0, ((View) mTopView).getHeight() + contentHeight - getHeight());
|
||||
|
||||
Reference in New Issue
Block a user