[]
This class is the bridge between UIKit.UICollectionView and C1DataCollection<T>. Using this class you'll get built-in sort, filter, grouping, refresh and load-on-demand features.
public class C1CollectionViewSource<T> : UICollectionViewSource where T : class
| Name | Description |
|---|---|
| T |
Inherit this class and implement GetItemCell to set the cell appearance as you wish.
| Name | Description |
|---|---|
| C1CollectionViewSource(UICollectionView) | Initializes a new instance of the C1CollectionViewSource<T> class. |
| Name | Description |
|---|---|
| CollectionView | Gets the table view used to display the items. |
| CollectionViewLayout | Gets or sets the collection view layout. |
| DataCollection | Gets the data collection which provides the data items. |
| EmptyMessageLabel | Gets the label displayed when there are no items. |
| ItemsSource | Gets or sets the data collection which provides the data items. |
| RefreshControl | Gets the refresh control used by the user to refresh the list. |
| Name | Description |
|---|---|
| GetCell(UICollectionView, NSIndexPath) | Called by the table view to get populate the row at indexPath with a cell view. |
| GetGroupCell(UICollectionView, NSIndexPath, IDataCollectionGroup<object, object>) | Gets the visual element representing a group(header) cell. |
| GetItem(NSIndexPath) | Gets an item from the UIKit.UITableView Foundation.NSIndexPath. |
| GetItemCell(UICollectionView, NSIndexPath, T) | Gets the visual element representing an item. |
| GetItemsCount(UICollectionView, nint) | Called by the collection view to find out how many items are to be rendered in the section specified by section. |
| GetViewForSupplementaryElement(UICollectionView, NSString, NSIndexPath) | |
| NumberOfSections(UICollectionView) | Returns the number of sections that are required to display the data. |
| Scrolled(UIScrollView) |