Beispiel #1
0
        async void refreshPage()
        {
            data = await data.FetchAsync();

            var test = new CalculateAverageData(Convert.ToInt16(data ["teamNumber"].ToString()));

            data = await data.FetchAsync();

            /*
             * ParseQuery<ParseObject> query = ParseObject.GetQuery("TeamData");
             * ParseQuery<ParseObject> sorted = query.WhereEqualTo ("teamNumber", data ["teamNumber"]);
             *
             * var allTeams = await sorted.FindAsync();
             * foreach (ParseObject obj in allTeams) {
             *      await obj.FetchAsync ();
             *      data = obj;
             * }
             */
        }
		async void refreshPage(){
			data = await data.FetchAsync ();
			var test = new CalculateAverageData (Convert.ToInt16 (data ["teamNumber"].ToString ()));
			data = await data.FetchAsync ();
			/*
			ParseQuery<ParseObject> query = ParseObject.GetQuery("TeamData");
			ParseQuery<ParseObject> sorted = query.WhereEqualTo ("teamNumber", data ["teamNumber"]);

			var allTeams = await sorted.FindAsync();
			foreach (ParseObject obj in allTeams) {
				await obj.FetchAsync ();
				data = obj;
			}
			*/
		}