public CameraController()
        {
            //load the list of files on the device
            _files = _mediaService.GetFiles(); 

            //setup cell reuse for performance - only works in iOS > 6 
            this.TableView.RegisterClassForCellReuse(typeof(PicturePreviewCell), CellReuse);
            this.TableView.RowHeight = UITableView.AutomaticDimension;
            this.TableView.EstimatedRowHeight = 60.0f;
            _cellDelegate = new PicturePreviewCellDelegate(this.TableView, this);
        }
Пример #2
0
        public CameraController()
        {
            //load the list of files on the device
            _files = _mediaService.GetFiles();

            //setup cell reuse for performance - only works in iOS > 6
            this.TableView.RegisterClassForCellReuse(typeof(PicturePreviewCell), CellReuse);
            this.TableView.RowHeight          = UITableView.AutomaticDimension;
            this.TableView.EstimatedRowHeight = 60.0f;
            _cellDelegate = new PicturePreviewCellDelegate(this.TableView, this);
        }