C# Class MvvmCross.Binding.iOS.Views.MvxCollectionViewCell

Inheritance: UICollectionViewCell, IMvxBindable
Afficher le fichier Open project: MvvmCross/MvvmCross

Méthodes publiques

Méthode Description
MvxCollectionViewCell ( CGRect frame ) : System
MvxCollectionViewCell ( IEnumerable bindingDescriptions, CGRect frame ) : System
MvxCollectionViewCell ( IntPtr handle ) : System
MvxCollectionViewCell ( string bindingText ) : System
MvxCollectionViewCell ( string bindingText, CGRect frame ) : System
MvxCollectionViewCell ( string bindingText, IntPtr handle ) : System
PreferredLayoutAttributesFittingAttributes ( UICollectionViewLayoutAttributes layoutAttributes ) : UICollectionViewLayoutAttributes

Should fix choppy scrolling on ios8+ by preventing a layout pass when autolayout is already computed iOS 8 provides a new self-sizing API for CollectionView and CollectionViewCells. It lets cells determine their own height, based on the content that they're about to load. preferredLayoutAttributesFittingAttributes: (on the cell) shouldLayoutAttributesFittingAttributes: (on the layout) invalidationContextForPreferredLayoutAttributes:withOriginalAttributes: (on the layout)

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
MvxCollectionViewCell ( CGRect frame, IEnumerable bindingDescriptions ) : System
MvxCollectionViewCell ( CGRect frame, string bindingText ) : System
MvxCollectionViewCell ( IntPtr handle, string bindingText ) : System

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

MvxCollectionViewCell() public méthode

public MvxCollectionViewCell ( CGRect frame ) : System
frame CGRect
Résultat System

MvxCollectionViewCell() public méthode

public MvxCollectionViewCell ( IEnumerable bindingDescriptions, CGRect frame ) : System
bindingDescriptions IEnumerable
frame CGRect
Résultat System

MvxCollectionViewCell() public méthode

public MvxCollectionViewCell ( IntPtr handle ) : System
handle System.IntPtr
Résultat System

MvxCollectionViewCell() public méthode

public MvxCollectionViewCell ( string bindingText ) : System
bindingText string
Résultat System

MvxCollectionViewCell() public méthode

public MvxCollectionViewCell ( string bindingText, CGRect frame ) : System
bindingText string
frame CGRect
Résultat System

MvxCollectionViewCell() public méthode

public MvxCollectionViewCell ( string bindingText, IntPtr handle ) : System
bindingText string
handle System.IntPtr
Résultat System

PreferredLayoutAttributesFittingAttributes() public méthode

Should fix choppy scrolling on ios8+ by preventing a layout pass when autolayout is already computed iOS 8 provides a new self-sizing API for CollectionView and CollectionViewCells. It lets cells determine their own height, based on the content that they're about to load. preferredLayoutAttributesFittingAttributes: (on the cell) shouldLayoutAttributesFittingAttributes: (on the layout) invalidationContextForPreferredLayoutAttributes:withOriginalAttributes: (on the layout)
public PreferredLayoutAttributesFittingAttributes ( UICollectionViewLayoutAttributes layoutAttributes ) : UICollectionViewLayoutAttributes
layoutAttributes UICollectionViewLayoutAttributes
Résultat UICollectionViewLayoutAttributes