2021-04-15 20:18:03 +10:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
2021-04-16 02:53:17 +10:00
|
|
|
|
using UnityEngine;
|
2021-04-15 20:18:03 +10:00
|
|
|
|
|
2021-04-16 21:07:32 +10:00
|
|
|
|
namespace UnityExplorer.UI.Widgets
|
2021-04-15 20:18:03 +10:00
|
|
|
|
{
|
2021-04-17 04:11:45 +10:00
|
|
|
|
public interface IPoolDataSource
|
2021-04-15 20:18:03 +10:00
|
|
|
|
{
|
|
|
|
|
int ItemCount { get; }
|
|
|
|
|
|
|
|
|
|
void SetCell(ICell cell, int index);
|
2021-04-21 23:07:15 +10:00
|
|
|
|
void DisableCell(ICell cell, int index);
|
2021-04-16 02:53:17 +10:00
|
|
|
|
|
|
|
|
|
ICell CreateCell(RectTransform cellTransform);
|
2021-04-15 20:18:03 +10:00
|
|
|
|
}
|
|
|
|
|
}
|