protected override void OnAssignObject(Cell view, int index)
 {
     //Apply properties to the view to make it like I want
     view.PrepareForUse(Cell.CellType.Screenshot);
     if (index < _screenshots.Count)
         view.FillViewWithObject(Utils.Util.DownloadScreenshotUrl(_screenshots[index].Url, _screenshots[index].Ext));
 }
 protected virtual void OnClickItem(PSCollectionView view, Cell cell, int index)
 {
     var photoBrowser = CreateBrowserViewController();
     photoBrowser.ModalTransitionStyle = UIModalTransitionStyle.CrossDissolve;
     photoBrowser.DisplayActionButton = true;
     photoBrowser.SetInitialPageIndex(index);
     PresentViewController(new UINavigationController(photoBrowser), true, null);
 }
        protected override void OnAssignObject(Cell view, int index)
        {
            if (index < _images.Count)
            {
                if (_images[index].Icon)
                    view.PrepareForUse(Cell.CellType.Icon);
                else
                    view.PrepareForUse(Cell.CellType.Screenshot);

                if (_thumbs[index] == null)
                {
                    _thumbs[index] = UIImage.FromFile(_images[index].ThumbPath);
                }

                view.FillWithLocal(_thumbs[index]);
            }
        }
 protected abstract void OnAssignObject(Cell view, int index);
 protected override void OnAssignObject(Cell view, int index)
 {
     view.PrepareForUse(Cell.CellType.Icon);
     if (index < _icons.Count)
         view.FillViewWithObject(Utils.Util.DownloadIconUrl(_icons[index].Url, _icons[index].Ext));
 }