添加单对象添加接口

This commit is contained in:
2025-08-05 10:52:35 +08:00
parent 628f7908df
commit 4df0359d7d
3 changed files with 13 additions and 0 deletions
+2
View File
@@ -12,6 +12,8 @@ namespace XericUI.Core.Base
string __EMPTYFIELD;
protected bool PublicFieldNullReference;
protected bool AlreadyAwake { get; private set; }
@@ -545,6 +545,16 @@ namespace XericUI.FlipPage
#region 数据项目
/// <summary>
/// 添加数据项目
/// </summary>
/// <param name="item"></param>
/// <exception cref="Exception"></exception>
public virtual void AddItem(ItemInfo item)
{
AddItem(item, () => throw new Exception("需要翻页管理器实现相应的页面创建逻辑,并重写添加默认数据方法后才可以使用。"));
}
/// <summary>
/// 添加数据项目
/// </summary>