Example #1
0
 public PhotoPage(PhotoViewController1 photoViewController, int imageIndex, List<ImageEntity> images)
 {
     //            _photoViewController = photoViewController;
     _photoViewController = new WeakReference<PhotoViewController1>(photoViewController);
     _images = images;
     ImageIndex = imageIndex;
 }
 public MyPageViewController(PhotoViewController1 parentController)
     : base(UIPageViewControllerTransitionStyle.Scroll,
     UIPageViewControllerNavigationOrientation.Horizontal,
     UIPageViewControllerSpineLocation.None, 10f)
 {
     _pageViewDataSource = new MyDataSource(parentController);
     DataSource = _pageViewDataSource;
 }
 public MyDataSource(PhotoViewController1 parentController)
 {
     _parentController = parentController;
 }