public EditEventFragment(VBEvent _event, List<VBTeam> listTeams) {
			this._event = _event;
			this.listTeams = new List<VBTeam>();
			VBTeam t = new VBTeam();
			t.name = "Keines";
			this.listTeams.Add(t);
			foreach(VBTeam team in listTeams) {
				this.listTeams.Add(team);
			}
		}
			private async void onSave() {
				t.team.name = t.name.Text;
				t.team.sport = t.sport.Text;
				t.team.location = t.location.Text;
				t.team.description = t.info.Text;

				JsonValue json = JsonValue.Parse(await DB_Communicator.getInstance().updateTeam(t.team));
				
				if(DB_Communicator.getInstance().wasSuccesful(json)) {
					VBTeam team = new VBTeam(json["data"]["Team"]);
					TeamDetailsFragment.findTeamDetailsFragment().team = team;
					ViewController.getInstance().hideSoftKeyboard();

					ViewController.getInstance().mainActivity.popBackstack();
				}
			}
		public EditTeamFragment(VBTeam team) {
			this.team = team;
		}
		public TeamDetailsFragment(VBTeam team, VBTeamrole teamrole, List<VBRequest> listRequests, List<VBUser> listMember) {
			this.team = team;
			this.teamrole = teamrole;
			this.listRequests = listRequests;
			this.listMember = listMember;
		}
		public TeamDetailsProfileFragment(VBTeam team, VBTeamrole teamrole, List<VBRequest> listRequests) {
			this.team = team;
			this.teamrole = teamrole;
			this.listRequests = listRequests;
		}
		public async Task<string> updateTeam(VBTeam team) {
			string service = "service/team/update_team.php?id=" + team.id + "&name=" + team.name + "&sport=" + team.sport + 
								"&location=" + team.location + "&description=" + team.description;
			return await this.makeWebRequest(service, "RequestUserTypeDialog.updateTeam");
		}