// Start is called before the first frame update void Start() { m_tableView.dataSource = this; datas = new ArrayList(); for (int i = 0; i < 100; i++) { MyCellInfo info = new MyCellInfo { index = i, height = 100, name = "name: " + i }; datas.Add(info); } }
void CellCallback(MyTableViewCell cell, MyCellInfo info) { m_tableView.NotifyCellDimensionsChanged(info.index); }
public void updateInfo(MyCellInfo model) { info = model; slider.value = model.height; }