Exemple #1
0
        public UICollectionViewLayoutAttributes LayoutAttributesForSupplementaryView(UICollectionElementKindSection section, NSIndexPath indexPath)
        {
            NSString kind;
            switch (section) {
            case UICollectionElementKindSection.Header:
                kind = UICollectionElementKindSectionKey.Header;
                break;
            case UICollectionElementKindSection.Footer:
                kind = UICollectionElementKindSectionKey.Footer;
                break;
            default:
                throw new ArgumentOutOfRangeException ("section");
            }

            return LayoutAttributesForSupplementaryView (kind, indexPath);
        }
Exemple #2
0
 public UITableViewCell DequeueReusableCell(string reuseIdentifier, NSIndexPath indexPath)
 {
     using (var str = (NSString) reuseIdentifier)
         return DequeueReusableCell (str, indexPath);
 }
Exemple #3
0
 public NSObject DequeueReusableSupplementaryView(UICollectionElementKindSection section, NSString reuseIdentifier, NSIndexPath indexPath)
 {
     return DequeueReusableSupplementaryView (KindToString (section), reuseIdentifier, indexPath);
 }
Exemple #4
0
 public UICollectionReusableView DequeueReusableSupplementaryView(UICollectionElementKindSection kind, string reuseIdentifier, NSIndexPath indexPath)
 {
     using (var str = (NSString) reuseIdentifier)
         return (UICollectionReusableView) DequeueReusableSupplementaryView (KindToString (kind), str, indexPath);
 }
Exemple #5
0
 public UICollectionReusableView DequeueReusableCell(string reuseIdentifier, NSIndexPath indexPath)
 {
     using (var str = (NSString) reuseIdentifier)
         return (UICollectionReusableView) DequeueReusableCell (str, indexPath);
 }
Exemple #6
0
 public static void PlayableContentManager(this IMPPlayableContentDelegate This, MPPlayableContentManager contentManager, NSIndexPath indexPath, Action<NSError> completionHandler)
 {
     This.InitiatePlaybackOfContentItem (contentManager, indexPath, completionHandler);
 }
Exemple #7
0
 public virtual void PlayableContentManager(MPPlayableContentManager contentManager, NSIndexPath indexPath, Action<NSError> completionHandler)
 {
     InitiatePlaybackOfContentItem (contentManager, indexPath, completionHandler);
 }