From 557c8c4f75aafc97533721766272410042440d34 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期六, 21 八月 2021 11:00:29 +0800
Subject: [PATCH] 安防功能
---
HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs | 15 +++++++++++++--
1 files changed, 13 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..4d894c0 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs
@@ -1,5 +1,6 @@
锘縰sing System;
using System.Collections.Generic;
+using HDL_ON.DAL.Server;
using HDL_ON.Entity;
using HDL_ON.UI.CSS;
using Shared;
@@ -9,7 +10,7 @@
{
FrameLayout bodyView;
- VerticalScrolViewLayout contentView;
+ VerticalRefreshLayout contentView;
List<IntegratedBrand> brandList;
@@ -25,7 +26,7 @@
bodyView.BackgroundColor = CSS_Color.BackgroundColor;
- contentView = new VerticalScrolViewLayout()
+ contentView = new VerticalRefreshLayout()
{
Y = Application.GetRealHeight(64),
Height = Application.GetRealHeight(603),
@@ -33,6 +34,12 @@
bodyView.AddChidren(contentView);
GetBindList();
+
+ contentView.BeginHeaderRefreshingAction = () =>
+ {
+ contentView.EndHeaderRefreshing();
+ GetBindList();
+ };
}
/// <summary>
@@ -65,6 +72,10 @@
});
}
}
+ else
+ {
+ IMessageCommon.Current.ShowErrorInfoAlter(pack.Code);
+ }
}
catch (Exception ex)
{
--
Gitblit v1.8.0