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 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 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)); }