From f534d41c36d5895322bf691784a10435b64609fe Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 25 十二月 2020 13:52:00 +0800
Subject: [PATCH] 修复添加、删除楼层时候,界面刷新异常问题
---
HDL_ON/UI/UI2/UserPage.cs | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs
index f8c37fb..858b95c 100644
--- a/HDL_ON/UI/UI2/UserPage.cs
+++ b/HDL_ON/UI/UI2/UserPage.cs
@@ -18,6 +18,7 @@
/// 鍐呭鍖哄煙
/// </summary>
FrameLayout ContextView;
+ //VerticalRefreshLayout ContextView;
/// <summary>
/// 瀵艰埅鏍忓尯鍩�
/// </summary>
@@ -129,8 +130,6 @@
ContextView.AddChidren(homePage);
homePage.LoadPage();
- //鍒锋柊鍔熻兘鐘舵��
- DB_ResidenceData.residenceData.RefreshResidenceFunctionStatus();
//娉ㄥ唽鎺ㄩ�両D
RegisteredPush();
//2020-12-07 澧炲姞鐗堟湰妫�娴嬫洿鏂版柟娉�
@@ -309,9 +308,9 @@
/// <summary>
/// 鍒囨崲鍒版敹钘忕晫闈�
/// </summary>
- void ChooseCollection()
+ void ChooseCollection(bool qiangzhishuaxin = false)
{
- if (CurAnimationEffect == 0)
+ if (CurAnimationEffect == 0 || qiangzhishuaxin)
{
return;
}
@@ -381,7 +380,7 @@
{
btnNavigationSelectionIcon.SetRotation(0f);
});
- }) { IsBackground = true }.Start();
+ }) { IsBackground = true ,Priority = System.Threading.ThreadPriority.Highest}.Start();
#endregion
ContextView.RemoveAll();
var homePage = new HomePage();
@@ -470,7 +469,7 @@
btnNavigationSelectionIcon.SetRotation(0f);
});
})
- { IsBackground = true }.Start();
+ { IsBackground = true, Priority = System.Threading.ThreadPriority.Highest }.Start();
#endregion
ContextView.RemoveAll();
var classificaitionView = new ClassificationPage();
@@ -560,7 +559,7 @@
btnNavigationSelectionIcon.SetRotation(0f);
});
})
- { IsBackground = true }.Start();
+ { IsBackground = true, Priority = System.Threading.ThreadPriority.Highest }.Start();
#endregion
ContextView.RemoveAll();
var intelligenceView = new IntelligencePage();
@@ -650,7 +649,7 @@
btnNavigationSelectionIcon.SetRotation(0f);
});
})
- { IsBackground = true }.Start();
+ { IsBackground = true, Priority = System.Threading.ThreadPriority.Highest }.Start();
#endregion
ContextView.RemoveAll();
--
Gitblit v1.8.0