Beispiel #1
0
        public void OnBtnAdd_Clicked()
        {
            var rListItem = new ListDataItem()
            {
                Value1 = "hhh", Value2 = 300
            };

            this.ListTest.ItemDatas.Insert(0, rListItem);
            this.ListTest.ItemDatas.Refresh();
        }
Beispiel #2
0
        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();
        }