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