Add CreateCell to ICell interface

This commit is contained in:
Sinai 2021-04-16 02:53:17 +10:00
parent dec113d2ee
commit 9a9048bcd8

View File

@ -2,6 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using UnityEngine;
namespace UnityExplorer.UI.Widgets.InfiniteScroll namespace UnityExplorer.UI.Widgets.InfiniteScroll
{ {
@ -10,5 +11,7 @@ namespace UnityExplorer.UI.Widgets.InfiniteScroll
int ItemCount { get; } int ItemCount { get; }
void SetCell(ICell cell, int index); void SetCell(ICell cell, int index);
ICell CreateCell(RectTransform cellTransform);
} }
} }