public PlayerAdapter(Activity context, IEnumerable <Player> players, int listViewLayout) { this._context = context; this._players = players.OrderBy(p => p.Surname).ToList(); this._listViewLayout = listViewLayout; premierTeamRepository = new SQLitePremierTeamRepository(); positionRepository = new SQLitePositionRepository(); }
public AdminPremierTeamListActivity() { premierTeamRepository = new SQLitePremierTeamRepository(); }
public AdminChangePremierTeamDetailsActivity() { premierTeamRepository = new SQLitePremierTeamRepository(); }
public AdminChangePlayerDetailsActivity() { positionRepository = new SQLitePositionRepository(); playerRepository = new SQLitePlayerRepository(); premierTeamRepository = new SQLitePremierTeamRepository(); }