using UnityEngine; using UnityEngine.UI; using PolyAndCode.UI; //Cell class for demo. A cell in Recyclable Scroll Rect must have a cell class inheriting from ICell. //The class is required to configure the cell(updating UI elements etc) according to the data during recycling of cells. //The configuration of a cell is done through the DataSource SetCellData method. //Check RecyclableScrollerDemo class public class DemoCell : MonoBehaviour, ICell { //UI public Text nameLabel; public Text genderLabel; public Text idLabel; //Model private ContactInfo _contactInfo; private int _cellIndex; private void Start() { //Can also be done in the inspector GetComponent