C# Class SamplePhotoApp.AssetGridViewController

Inheritance: UICollectionViewController, IPHPhotoLibraryChangeObserver
显示文件 Open project: xamarin/monotouch-samples

Private Properties

Property Type Description
AddAsset void
AssetGridViewController System
ComputeDifferenceBetweenRect Rects
ReleaseDesignerOutlets void
ResetCachedAssets void
ToNSIndexPaths NSIndexPath[]
UpdateCachedAssets void

Public Methods

Method Description
AssetGridViewController ( IntPtr handle ) : System
GetCell ( UICollectionView collectionView, NSIndexPath indexPath ) : UICollectionViewCell
GetItemsCount ( UICollectionView collectionView, nint section ) : nint
PhotoLibraryDidChange ( PHChange changeInstance ) : void
PrepareForSegue ( UIStoryboardSegue segue, NSObject sender ) : void
Scrolled ( UIScrollView scrollView ) : void
ViewDidAppear ( bool animated ) : void
ViewDidLoad ( ) : void
ViewWillAppear ( bool animated ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
AddAsset ( NSObject sender ) : void
AssetGridViewController ( NSCoder coder ) : System
ComputeDifferenceBetweenRect ( CGRect oldRect, CGRect newRect ) : Rects
ReleaseDesignerOutlets ( ) : void
ResetCachedAssets ( ) : void
ToNSIndexPaths ( NSIndexSet indexSet ) : NSIndexPath[]
UpdateCachedAssets ( ) : void

Method Details

AssetGridViewController() public method

public AssetGridViewController ( IntPtr handle ) : System
handle System.IntPtr
return System

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetCell() public method

public GetCell ( UICollectionView collectionView, NSIndexPath indexPath ) : UICollectionViewCell
collectionView UICollectionView
indexPath NSIndexPath
return UICollectionViewCell

GetItemsCount() public method

public GetItemsCount ( UICollectionView collectionView, nint section ) : nint
collectionView UICollectionView
section nint
return nint

PhotoLibraryDidChange() public method

public PhotoLibraryDidChange ( PHChange changeInstance ) : void
changeInstance PHChange
return void

PrepareForSegue() public method

public PrepareForSegue ( UIStoryboardSegue segue, NSObject sender ) : void
segue UIStoryboardSegue
sender NSObject
return void

Scrolled() public method

public Scrolled ( UIScrollView scrollView ) : void
scrollView UIScrollView
return void

ViewDidAppear() public method

public ViewDidAppear ( bool animated ) : void
animated bool
return void

ViewDidLoad() public method

public ViewDidLoad ( ) : void
return void

ViewWillAppear() public method

public ViewWillAppear ( bool animated ) : void
animated bool
return void