public void SetPlayer(PlayerListViewController playerListViewController, Player player) { _playerListViewController = playerListViewController; _player = player; if (_player == null) { PlayerIdCell.AddGestureRecognizer(new UITapGestureRecognizer(AddPlayerGestureHandler)); } else { AddHeadsetGesture(); } }
public PlayerTableViewSource(IEnumerable <Player> items, PlayerListViewController controller) { Players = items.ToList(); _controller = controller; }
public PlayerTableViewSource(IEnumerable<Player> items, PlayerListViewController controller) { Players = items.ToList(); _controller = controller; }