protected virtual void SetImage()
        {
            if (ImageAssets.Count == 1)
            {
                if (!_isFromCamera)
                {
                    SetupPhoto(_cellSize);
                    photoView.Image = ImageAssets[0].Item2;
                }
                else
                {
                    SetupPhoto(new CGSize(UIScreen.MainScreen.Bounds.Width - 15 * 2, UIScreen.MainScreen.Bounds.Width - 15 * 2));
                    _cropView = new CropView(new CGRect(0, 0, UIScreen.MainScreen.Bounds.Width - 15 * 2, UIScreen.MainScreen.Bounds.Width - 15 * 2));
                    photoView.AddSubview(_cropView);

                    _resizeButton       = new UIImageView();
                    _resizeButton.Image = UIImage.FromBundle("ic_resize");
                    _resizeButton.UserInteractionEnabled = true;
                    mainScroll.AddSubview(_resizeButton);
                    _resizeButton.AutoPinEdge(ALEdge.Left, ALEdge.Left, photoView, 15f);
                    _resizeButton.AutoPinEdge(ALEdge.Bottom, ALEdge.Bottom, photoView, -15f);

                    _rotateButton       = new UIImageView();
                    _rotateButton.Image = UIImage.FromBundle("ic_rotate");
                    _rotateButton.UserInteractionEnabled = true;
                    mainScroll.AddSubview(_rotateButton);
                    _rotateButton.AutoPinEdge(ALEdge.Left, ALEdge.Right, _resizeButton, 15f);
                    _rotateButton.AutoPinEdge(ALEdge.Bottom, ALEdge.Bottom, photoView, -15f);

                    var rotateTap = new UITapGestureRecognizer(RotateTap);
                    _rotateButton.AddGestureRecognizer(rotateTap);

                    var zoomTap = new UITapGestureRecognizer(ZoomTap);
                    _resizeButton.AddGestureRecognizer(zoomTap);
                }
            }
            else
            {
                SetupPhotoCollection();

                var galleryCollectionViewSource = new PhotoGalleryViewSource(ImageAssets);
                photoCollection.Source          = galleryCollectionViewSource;
                photoCollection.BackgroundColor = UIColor.White;
            }
        }
        protected override void SetImage()
        {
            if (post.Media.Length > 1)
            {
                SetupPhotoCollection();

                List <string> URLs = new List <string>();

                foreach (var media in post.Media)
                {
                    URLs.Add(media.Thumbnails.Micro);
                }

                var galleryCollectionViewSource = new PhotoGalleryViewSource(URLs);
                photoCollection.Source = galleryCollectionViewSource;
            }
            else
            {
                SetupPhoto(_cellSize);

                var stringUrl = post.Media[0].Thumbnails.Mini;
                ImageService.Instance.LoadUrl(stringUrl).Into(photoView);
            }
        }