private async void Load()
        {
            _collectionView = new YouTubeCollectionView();
            var grouping = new C1GroupCollectionView <YouTubeVideo>(_collectionView, true);
            await grouping.GroupAsync("PublishedDay");

            RecyclerView.SetLayoutManager(new LinearLayoutManager(this));
            RecyclerView.SetAdapter(new YouTubeAdapter(grouping));
        }
        private async void Load()
        {
            _collectionView = new YouTubeCollectionView()
            {
                PageSize = 25
            };
            var grouping = new C1GroupCollectionView <YouTubeVideo>(_collectionView, false);
            await grouping.GroupAsync("PublishedDay");

            grid.ItemsSource    = grouping;
            grid.MinColumnWidth = 85;
            search.Text         = "Xamarin.Forms";
            var task = PerformSearch();
        }
        private async void Load()
        {
            CollectionView.BackgroundColor = UIColor.White;
            SearchField.EditingChanged    += OnSearchEditingChanged;
            SearchField.ShouldReturn       = new UITextFieldCondition(tf => { tf.ResignFirstResponder(); return(true); });
            _collectionView          = new YouTubeCollectionView();
            _collectionView.PageSize = 50;
            var itemSize = 100;
            var grouping = new C1GroupCollectionView <YouTubeVideo>(_collectionView, false);
            await grouping.GroupAsync("PublishedDay");

            var source = new YouTubeCollectionViewSource(CollectionView);

            source.ItemsSource = grouping;
            source.EmptyMessageLabel.TextColor = UIColor.Black;
            source.EmptyMessageLabel.Text      = Foundation.NSBundle.MainBundle.LocalizedString("EmptyText", "");;
            var layout = new C1CollectionViewFlowLayout();

            layout.SectionHeadersPinToVisibleBounds = true;
            layout.EstimatedItemSize    = new CGSize(itemSize, itemSize);
            source.CollectionViewLayout = layout;
            CollectionView.Source       = source;
        }