public override nint RowsInSection(UITableView tableview, nint section) { // iOS may call this method even when we have no sections, but only if we've overridden // EstimatedHeight(UITableView, NSIndexPath) in our UITableViewSource if (section >= commonSource.NumberOfSections()) { return(0); } return(commonSource.RowsInSection((int)section)); }
public override int GetItemsCount(UICollectionView collectionView, int section) #endif { return(commonSource.RowsInSection((int)section)); }
public override int RowsInSection(UITableView tableview, int section) { return(commonSource.RowsInSection(section)); }