public override UICollectionViewCell GetCell(UICollectionView collectionView, NSIndexPath indexPath) { var cell = collectionView.Dequeue <GroupPersonCVC> (indexPath); cell.SetPerson(Group.People [indexPath.Section], indexPath.Section, indexPath.Row); return(cell); }
public override UICollectionReusableView GetViewForSupplementaryElement(UICollectionView collectionView, NSString elementKind, NSIndexPath indexPath) { var person = Group.People [indexPath.Section]; var header = collectionView.Dequeue <SimpleCVHeader> (UICollectionElementKindSection.Header, indexPath); header.SetTitle(person.Name); return(header); }
public override UICollectionViewCell GetCell(UICollectionView collectionView, NSIndexPath indexPath) { var cell = collectionView.Dequeue <FaceCVC> (indexPath); var face = Results [indexPath.Section].Faces [indexPath.Row]; cell.SetFaceImage(face, face.GetImage()); return(cell); }
public override UICollectionReusableView GetViewForSupplementaryElement(UICollectionView collectionView, NSString elementKind, NSIndexPath indexPath) { var groupResult = Results [indexPath.Section]; var header = collectionView.Dequeue <SimpleCVHeader> (UICollectionElementKindSection.Header, indexPath); header.SetTitle(groupResult.Title); return(header); }
public override UICollectionViewCell GetCell(UICollectionView collectionView, NSIndexPath indexPath) { var cell = collectionView.Dequeue <UICollectionViewDrawerCell> (indexPath); var item = items [(int)indexPath.Item]; cell.SetData(item); return(cell); }
public override UICollectionViewCell GetCell(UICollectionView collectionView, NSIndexPath indexPath) { var cell = collectionView.Dequeue <FaceCVC> (indexPath); var face = Results [indexPath.Section].Faces [indexPath.Row]; var thumbnail = thumbnailProvider(face); cell.SetFaceImage(face, thumbnail); return(cell); }
public override UICollectionViewCell GetCell(UICollectionView collectionView, NSIndexPath indexPath) { var cell = collectionView.Dequeue <FaceCVC> (indexPath); var detectedFace = Faces [indexPath.Row]; var image = thumbnailImages [indexPath.Row]; cell.SetFaceImage(detectedFace, image); return(cell); }
public override UICollectionReusableView GetViewForSupplementaryElement(UICollectionView collectionView, NSString elementKind, NSIndexPath indexPath) { var header = collectionView.Dequeue <DrawerContentCollectionViewHeader> (elementKind, indexPath); return(header); }
public override UICollectionViewCell GetCell(UICollectionView collectionView, NSIndexPath indexPath) { var cell = collectionView.Dequeue <DrawerContentCollectionViewCell> (indexPath); return(cell); }