private void SelectTeamButton()
        {
            var team       = _teams.ElementAt(_selectedTeamIndex);
            var teamId     = team.Id;
            var opponentId = _teams.ElementAt(GetNextIndex(_selectedTeamIndex + 1)).Id;

            TeamSelected?.Invoke(this, new TeamSelectedEventArgs(teamId, opponentId));
        }
Esempio n. 2
0
 private void TeamClicked(TableView sender, TeamListItem teamListItem)
 {
     TeamSelected?.Invoke(teamListItem.team);
 }