From ee8897af86a2b23ba58b7f61981af75fcdadf24f Mon Sep 17 00:00:00 2001 From: peng8350 Date: Sat, 20 Jun 2020 22:11:19 -0700 Subject: [PATCH] add one constant problem --- problems.md | 2 ++ problems_en.md | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/problems.md b/problems.md index 9ce34a88..fc43803f 100644 --- a/problems.md +++ b/problems.md @@ -48,3 +48,5 @@ RefreshConfiguration配置属性footerTriggerDistance,屏幕一半你可以借 这类问题一般发生在Android系统,绝大数情况是因为maxOverScrollExtent和maxUnderScrollExtent限制了最大拖动的高度问题,你需要确保它要大于triggerDistance,因为内部 没有帮你自动识别判断 +15.为什么引用库后,随着数据量大时越来越卡顿? +这种情况绝大多数都是因为开启了shrinkWrap=true和设置physic:NeverScrollPhysics,ScrollView一定要作为SmartRefresher's child,不可分开。 diff --git a/problems_en.md b/problems_en.md index ae250fea..e117a954 100644 --- a/problems_en.md +++ b/problems_en.md @@ -45,3 +45,7 @@ You can't add header and footer. just put it into SmartRefresher's child instead 14. Why can't dragging to the maximum distance trigger refresh? Why load more without triggering? This kind of problem usually occurs on Android systems, mostly because maxOverScrollExtent and maxUnderScrollExtent limit the height of the maximum drag. You need to make sure that it is larger than triggerDistance because it's internal. Not automatically identifying and judging for you + +15.Why performance become more and more slow with the large amount of data? +this situation is mostly because the setting shrinkWrap=true and physic:NeverScrollPhysics,ScrollView must be as SmartRefresher's child。 +