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);
 }
            public override void OnDidSelectView(PSCollectionView a, PSCollectionViewCell v, int index)
            {
                var cell = v as Cell;

                if (cell != null)
                {
                    _t.OnClickItem(a, cell, index);
                }
            }
        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);
        }
 public override void OnDidSelectView(PSCollectionView a, PSCollectionViewCell v, int index)
 {
     var cell = v as Cell;
     if (cell != null)
         _t.OnClickItem(a, cell, index);
 }