Ejemplo n.º 1
0
        protected override void Add(int insertionIndex, int count)
        {
            var manager = GetCollectionViewManager();

            for (int i = 0; i < count; i++)
            {
                int index = insertionIndex + i;
                var tab   = CreateTab(index);
                if (manager == null)
                {
                    _actionBar.AddTab(tab, index, false);
                }
                else
                {
                    manager.Insert(_actionBar, index, tab);
                }
            }
        }