protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.ListEvents);
            listView = FindViewById<ListView>(Resource.Id.listEvents);

            user = MySqlUser.GetUserFromPreferences(this);

            DB_Communicator db = new DB_Communicator();
            listEvents = db.SelectEventsForUser(user.idUser, null).Result;
            listView.Adapter = new ListEventsAdapter(this, listEvents);

            listView.ItemClick += OnListItemClick;
        }
		protected override void OnCreate(Bundle bundle) {
			base.OnCreate(bundle);
			SetContentView(Resource.Layout.ListEvents);

			//Get all events for the logged in user
			DB_Communicator db = new DB_Communicator();
			user = MySqlUser.GetUserFromPreferences(this);
			listEvents = db.SelectEventsForUser(user.idUser, null).Result;

			if(listEvents.Count == 0) {
				//display text that there are currently no events
			} else {
				listView = FindViewById<ListView>(Resource.Id.listEvents);
				listView.Adapter = new ListEventsAdapter(this, listEvents);
				listView.ItemClick += OnListItemClick;
			}
		}