Ejemplo n.º 1
0
        void OnAddItemBtnClicked()
        {
            int count = 0;

            if (int.TryParse(mAddItemInput.text, out count) == false)
            {
                return;
            }
            mLoopGridView.SetListItemCount(count + mLoopGridView.ItemTotalCount, false);
        }
        void OnDeleteBtnClicked()
        {
            bool isChanged = DataSourceMgr.Get.DeleteAllCheckedItem();

            if (isChanged == false)
            {
                return;
            }
            mLoopGridView.SetListItemCount(DataSourceMgr.Get.TotalItemCount, false);
            mLoopGridView.RefreshAllShownItem();
        }