From 7083d7dd627f2094827f7088e5646b0309b02d2d Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 17 三月 2021 14:38:31 +0800
Subject: [PATCH] 2.优化调整第三方设备列表接口

---
 HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs
index b8f0a39..c336335 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs
@@ -9,7 +9,7 @@
     {
         FrameLayout bodyView;
 
-        VerticalScrolViewLayout contentView;
+        VerticalRefreshLayout contentView;
 
         List<IntegratedBrand> brandList;
 
@@ -25,7 +25,7 @@
 
             bodyView.BackgroundColor = CSS_Color.BackgroundColor;
 
-            contentView = new  VerticalScrolViewLayout()
+            contentView = new VerticalRefreshLayout()
             {
                 Y = Application.GetRealHeight(64),
                 Height = Application.GetRealHeight(603),
@@ -34,6 +34,12 @@
 
             GetBindList();
 
+            contentView.BeginHeaderRefreshingAction = () =>
+            {
+                contentView.EndHeaderRefreshing();
+                GetBindList();
+            };
+
         }
         /// <summary>
         /// 鑾峰彇缁戝畾鍒楄〃

--
Gitblit v1.8.0