UnityExplorer/src/UI/Widgets/ScrollPool/IPoolDataSource.cs

18 lines
330 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
2021-04-16 02:53:17 +10:00
using UnityEngine;
namespace UnityExplorer.UI.Widgets
{
public interface IPoolDataSource
{
int ItemCount { get; }
void SetCell(ICell cell, int index);
2021-04-16 02:53:17 +10:00
ICell CreateCell(RectTransform cellTransform);
}
}