示例#1
0
 public void WillDisplayCell(UICollectionView collectionView, LOTCharacterCell cell, NSIndexPath indexPath)
 {
     if (indexPath.Row < this.text.Length)
     {
         cell.SetCharacter(CharacterAtIndexPath(indexPath));
         cell.DisplayCharacter(animated: this.updatingCells);
     }
     else
     {
         cell.SetCharacter("BlinkingCursor");
         cell.LoopAnimation();
         cell.DisplayCharacter(animated: true);
     }
 }
示例#2
0
        public UICollectionViewCell GetCell(UICollectionView collectionView, NSIndexPath indexPath)
        {
            LOTCharacterCell charCell = collectionView.DequeueReusableCell(ReuseIdentifier, indexPath) as LOTCharacterCell;

            return(charCell);
        }