UnityExplorer/src/UI/Widgets/ScrollPool/IPoolDataSource.cs
2021-04-30 23:12:18 +10:00

20 lines
410 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace UnityExplorer.UI.Widgets
{
public interface IPoolDataSource<T> where T : ICell
{
int ItemCount { get; }
void OnCellBorrowed(T cell);
//void ReleaseCell(T cell);
void SetCell(T cell, int index);
//void DisableCell(T cell, int index);
}
}