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

Inheritance: UICollectionViewCell, IMvxBindable
ファイルを表示 Open project: MvvmCross/MvvmCross

Public Methods

Method 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 tvOS 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)

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
MvxCollectionViewCell ( CGRect frame, IEnumerable bindingDescriptions ) : System
MvxCollectionViewCell ( CGRect frame, string bindingText ) : System
MvxCollectionViewCell ( IntPtr handle, string bindingText ) : System

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

MvxCollectionViewCell() public method

public MvxCollectionViewCell ( CGRect frame ) : System
frame CGRect
return System

MvxCollectionViewCell() public method

public MvxCollectionViewCell ( IEnumerable bindingDescriptions, CGRect frame ) : System
bindingDescriptions IEnumerable
frame CGRect
return System

MvxCollectionViewCell() public method

public MvxCollectionViewCell ( IntPtr handle ) : System
handle System.IntPtr
return System

MvxCollectionViewCell() public method

public MvxCollectionViewCell ( string bindingText ) : System
bindingText string
return System

MvxCollectionViewCell() public method

public MvxCollectionViewCell ( string bindingText, CGRect frame ) : System
bindingText string
frame CGRect
return System

MvxCollectionViewCell() public method

public MvxCollectionViewCell ( string bindingText, IntPtr handle ) : System
bindingText string
handle System.IntPtr
return System

PreferredLayoutAttributesFittingAttributes() public method

Should fix choppy scrolling on ios8+ by preventing a layout pass when autolayout is already computed tvOS 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
return UICollectionViewLayoutAttributes