public ShowSelectedImage ( bool isSelected ) : void | ||
isSelected | bool | |
return | void |
void HandleMemorizationCellTapped(MemorizationCell cell, NSIndexPath indexPath) { selected [indexPath.Row] = !selected [indexPath.Row]; var item = data [indexPath.Row]; var isSelected = selected [indexPath.Row]; if (isSelected) { selectedVerses.Add(item); } else { selectedVerses.Remove(item); } cell.ShowSelectedImage(isSelected); }
void HandleMemorizationCellTapped(MemorizationCell cell, NSIndexPath indexPath) { if (Tour.Instance.Step == 5) { Tour.Instance.StepCompleted(5); } selected [indexPath.Row] = !selected [indexPath.Row]; var item = data [indexPath.Row]; var isSelected = selected [indexPath.Row]; if (isSelected) { selectedVerses.Add(item); } else { selectedVerses.Remove(item); } cell.ShowSelectedImage(isSelected); }
void HandleMemorizationCellTapped(MemorizationCell cell, NSIndexPath indexPath) { selected [indexPath.Row] = !selected [indexPath.Row]; var item = data [indexPath.Row]; var isSelected = selected [indexPath.Row]; if (isSelected) { selectedVerses.Add (item); } else { selectedVerses.Remove (item); } cell.ShowSelectedImage (isSelected); }
void HandleMemorizationCellTapped(MemorizationCell cell, NSIndexPath indexPath) { if (Tour.Instance.Step == 5) { Tour.Instance.StepCompleted (5); } selected [indexPath.Row] = !selected [indexPath.Row]; var item = data [indexPath.Row]; var isSelected = selected [indexPath.Row]; if (isSelected) { selectedVerses.Add (item); } else { selectedVerses.Remove (item); } cell.ShowSelectedImage (isSelected); }