public override void ItemSelected(UICollectionView collectionView, NSIndexPath indexPath) { var asset = (PHAsset)AssetsFetchResults[indexPath.Item]; _picker.SelectAsset(asset); _picker.NotifyAssetSelected(asset); }
public override void ItemSelected(UICollectionView collectionView, NSIndexPath indexPath) { var asset = (PHAsset)AssetsFetchResults[indexPath.Item]; var cell = (GMGridViewCell)collectionView.CellForItem(indexPath); _picker.SelectAsset(asset); _picker.NotifyAssetSelected(asset); ConfigureSelectCellAccessibilityAttributes(cell, true, null); }