public void OnBtnAdd_Clicked() { var rListItem = new ListDataItem() { Value1 = "hhh", Value2 = 300 }; this.ListTest.ItemDatas.Insert(0, rListItem); this.ListTest.ItemDatas.Refresh(); }
protected void OnBtnAdd_Clicked(EventArg rEventArg) { var rListItem = new ListDataItem() { Value1 = "hhh", Value2 = "0" }; Debug.LogError("==================== " + this.ListTest.ItemDatas.GetType()); this.ListTest.ItemDatas.Insert(0, rListItem); this.ListTest.ItemDatas.Refresh(); }