添加单对象添加接口
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user