private void AddAllItems() { topToBottomItemList.RemoveAllChildren(); var provider = this.CurrentLibraryProvider; if (provider != null) { if (provider.ProviderKey != LibraryProviderSelector.ProviderKeyName) { PrintItemCollection parent = new PrintItemCollection("..", provider.ProviderKey); LibrarySelectorRowItem queueItem = new LibrarySelectorRowItem(parent, -1, this, provider.ParentLibraryProvider, GetThumbnailWidget(provider.ParentLibraryProvider, parent, LibraryProvider.UpFolderImage), "Back".Localize()); AddListItemToTopToBottom(queueItem); } for (int i = 0; i < provider.CollectionCount; i++) { PrintItemCollection item = provider.GetCollectionItem(i); if (item.Key != "LibraryProviderPurchasedKey" && item.Key != "LibraryProviderSharedKey") { LibrarySelectorRowItem queueItem = new LibrarySelectorRowItem(item, i, this, null, GetThumbnailWidget(null, item, provider.GetCollectionFolderImage(i)), "Open".Localize()); AddListItemToTopToBottom(queueItem); } } } }