/// <summary> /// 更新项目 /// </summary> /// <param name="obj">UI实例对象</param> /// <param name="dat">数据实例对象</param> /// <param name="index">数据索引</param> /// <param name="con">构造器</param> protected void ItemUpdate(object obj, object dat, int index, Constructor con) { if (con != null) { con.Call(obj, dat, index); } }
protected void ItemUpdate(object obj, object dat, int index) { if (creator != null) { creator.Call(obj, dat, index); } }