From b562a582ac3a288193e6e4f57c5eff8a344305a4 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 27 九月 2024 13:52:17 +0800
Subject: [PATCH] Update AndroidManifest.xml
---
HDL_ON/UI/UI2/FuntionControlView/Aks/CollectPage.cs | 27 ++++++++++++++++-----------
1 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CollectPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CollectPage.cs
index 6ad5cc9..a73fea7 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CollectPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CollectPage.cs
@@ -17,12 +17,12 @@
this.remoteControl = remoteControlEntity;
//璇荤紦瀛樻暟鎹�
var collectList = AksCommonMethod.Current.CollectList;
- this.mMovieLibraryList.AddRange(collectList);
+ this.mMovieCollectList .AddRange(collectList);
}
/// <summary>
- /// 褰辩墖鍒楄〃
+ /// 褰辩墖鏀惰棌鍒楄〃
/// </summary>
- private List<MovieLibrary> mMovieLibraryList=new List<MovieLibrary>();
+ private List<MovieLibrary> mMovieCollectList =new List<MovieLibrary>();
/// <summary>
/// 褰撳墠鐨勯仴鎺у櫒瀵硅薄
/// </summary>
@@ -90,18 +90,19 @@
return;
}
vv.RemoveAll();
- int count = this.mMovieLibraryList == null ? 0 : this.mMovieLibraryList.Count;
+ int count = this.mMovieCollectList == null ? 0 : this.mMovieCollectList .Count;
imageFLayout = new CornerFramLayout(343, count * 168, 0);
vv.AddChidren(imageFLayout);
imageFLayout.X = Application.GetRealWidth(16);
- imageFLayout.LoadImagePage(this.mMovieLibraryList);
+ imageFLayout.LoadImagePage(this.mMovieCollectList );
imageFLayout.AdjustRealHeight(16);
vv.BeginHeaderRefreshingAction += () =>
{
//鍏抽棴鍒锋柊View锛�
vv.EndHeaderRefreshing();
- mMovieLibraryList.Clear();
+ //寮哄埗鏇存柊
+ mMovieCollectList .Clear();
ReadData();
};
imageFLayout.selectImageAction += (movieLibrary) =>
@@ -114,9 +115,11 @@
detailPage.Show();
detailPage.action += (isUpdate) =>
{
+ //鏄惁瑕佹洿鏂�
if (isUpdate)
{
- this.mMovieLibraryList = AksCommonMethod.Current.CollectList;
+
+ this.mMovieCollectList = AksCommonMethod.Current.CollectList;
InitMiddle();
}
};
@@ -130,7 +133,7 @@
/// </summary>
private void ReadData()
{
- if (mMovieLibraryList.Count > 0)
+ if (mMovieCollectList .Count > 0)
{
CommonMethod.Current.MainThread(() =>
{
@@ -144,12 +147,14 @@
{
try
{
- this.mMovieLibraryList = SendMethod.Current.GetcollectPage(this.remoteControl.deviceId, this.remoteControl.rcId, pageNo, SendMethod.pageSize);
- for (int i = 0; i < this.mMovieLibraryList.Count; i++)
+ this.mMovieCollectList = SendMethod.Current.GetcollectPage(this.remoteControl.deviceId, this.remoteControl.rcId, pageNo, SendMethod.pageSize);
+ for (int i = 0; i < this.mMovieCollectList .Count; i++)
{
- var mMovieLibrary = this.mMovieLibraryList[i];
+ var mMovieLibrary = this.mMovieCollectList [i];
var bytes = SendMethod.Current.GetImage(mMovieLibrary.posterUrl);
mMovieLibrary.imageBytes = bytes;
+ //缂撳瓨鏁版嵁
+ AksCommonMethod.Current.AddCollectMovie(mMovieLibrary);
}
}
catch { }
--
Gitblit v1.8.0