From efad979b6fae76fb37a4de7e94e6bac0a85cb72c Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 30 十一月 2021 13:14:28 +0800 Subject: [PATCH] 2021-11-30 1.修复乐橙Android,没调用拒接接口问题。 --- 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