From 3cab37863f5d034097dbd4a381a7fdb9c9a347c2 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期一, 18 十一月 2019 17:23:48 +0800 Subject: [PATCH] 优化加载数据列表 --- ZigbeeApp/Shared/Phone/UserCenter/SharedContent/LookSharedContentForm.cs | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/LookSharedContentForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/LookSharedContentForm.cs index 82a86d1..b42621a 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/LookSharedContentForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/LookSharedContentForm.cs @@ -236,6 +236,8 @@ } }; } + //璋冩暣涓�涓嬮珮搴� + listView.AdjustRealHeightByBottomButton(Application.GetRealHeight(185)); }); } @@ -317,6 +319,8 @@ private void AddDeviceRow(List<CommonDevice> listDevice, VerticalListControl listView) { listView.RemoveAll(); + //杩樺師楂樺害 + listView.RecoverHeight(); foreach (var device in listDevice) { @@ -365,6 +369,8 @@ } }; } + //鍒楄〃鑷繁鏈変釜23鐨刌杞村潗鏍� + listView.AdjustRealHeightByBottomButton(Application.GetRealHeight(23), Application.GetRealHeight(300 - 23)); } #endregion -- Gitblit v1.8.0