public NohanaImagePickerController(List <PHAssetCollectionSubtype> assetCollectionSubtypes, MediaType mediaType, bool enableExpandingPhotoAnimation) : base(nibName: null, bundle: null) { this.AssetCollectionSubtypes = assetCollectionSubtypes; this.MediaType = mediaType; this.EnableExpandingPhotoAnimation = enableExpandingPhotoAnimation; this.PickedAssetList = new PickedAssetList(); this.PickedAssetList.NohanaImagePickerController = this; }
public NohanaImagePickerController() : base(nibName: null, bundle: null) { AssetCollectionSubtypes = new List <PHAssetCollectionSubtype> { PHAssetCollectionSubtype.AlbumRegular, PHAssetCollectionSubtype.AlbumSyncedEvent, PHAssetCollectionSubtype.AlbumSyncedFaces, PHAssetCollectionSubtype.AlbumSyncedAlbum, PHAssetCollectionSubtype.AlbumImported, PHAssetCollectionSubtype.AlbumMyPhotoStream, PHAssetCollectionSubtype.AlbumCloudShared, PHAssetCollectionSubtype.SmartAlbumGeneric, PHAssetCollectionSubtype.SmartAlbumFavorites, PHAssetCollectionSubtype.SmartAlbumRecentlyAdded, PHAssetCollectionSubtype.SmartAlbumUserLibrary }; MediaType = MediaType.Photo; PickedAssetList = new PickedAssetList(); EnableExpandingPhotoAnimation = true; this.PickedAssetList.NohanaImagePickerController = this; }