protected override void Refresh()
        {
            ICollectionViewManager viewManager = GetCollectionViewManager();

            viewManager.Clear(_view);
            int count = ItemsSource.Count();

            for (int i = 0; i < count; i++)
            {
                viewManager.Insert(_view, i, GetItemFromTemplate(i));
            }
        }
예제 #2
0
        protected override void Refresh()
        {
            var view = GetView();

            if (view == null)
            {
                return;
            }
            ICollectionViewManager viewManager = GetCollectionViewManager(view);

            viewManager.Clear(view);
            int count = ItemsSource.Count();

            for (int i = 0; i < count; i++)
            {
                viewManager.Insert(view, i, GetItemFromTemplate(view, i));
            }
        }