public UserDetailsDialog (VBUser clickedUser, int teamId, VBEvent _event, UserDetailsType type) {
			this.clickedUser = clickedUser;
			this.teamId = teamId;
			this.user = VBUser.GetUserFromPreferences();
			this._event = _event;
			this.type = type;
		}
		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);
			}
		}
		/** Converts the start and end date of an Event
		 *	If the the dates occur on the same day the output format will be dd.MM.yy HH:mm - HH:mm
		 *	else dd.MM.yy HH:mm - dd.MM.yy HH:mm
		 **/
		public string convertDateForLayout(VBEvent item) {
			if(item.startDate.Day == item.endDate.Day && item.startDate.Month == item.endDate.Month && item.startDate.Year == item.endDate.Year) {
				return item.startDate.ToString("dd.MM.yy") + " (" + item.startDate.ToString("HH:mm") + " - "
														 + item.endDate.ToString("HH:mm") + ")";
//				return item.startDate.ToString("dd.MM.yy HH:mm") + " - " + item.endDate.ToString("HH:mm");
			} else {
				return item.startDate.ToString("dd.MM.yy") + " (" + item.startDate.ToString("HH:mm") + ") - "
					+ item.endDate.ToString("dd.MM.yy") + " (" + item.endDate.ToString("HH:mm") + ")";
//				return item.startDate.ToString("dd.MM.yy HH:mm") + " - " + item.endDate.ToString("dd.MM.yy HH:mm");
			}
		}
		public EventDetailsFragment(VBEvent _event, List<VBUser> listUser) {
			this._event = _event;
			this.listUser = listUser;
		}
		public EventDetailsClickListener(string source, EventDetailsFragment edf, VBUser clickedUser) {
			this.source = source;
			this.edf = edf;
			this._event = edf._event;
			this.clickedUser = clickedUser;
		}
		public EventDetailsClickListener(string source, EventDetailsFragment edf, string answer) {
			this.source = source;
			this.edf = edf;
			this._event = edf._event;
			this.answer = answer;
		}