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