[]
Returns the number of sections that are required to display the data.
public override sealed nint NumberOfSections(UICollectionView collectionView)
Type | Name | Description |
---|---|---|
UICollectionView | collectionView | Collection view displaying the sections. |
Type | Description |
---|---|
nint | Number of sections required to display the data. The default is 1 (a collection must have at least one section). |