Esempio n. 1
0
        public async void OnNameClicked(object Sender, EventArgs args)
        {
            List <Objects.Child> childrenInClass;

            //gets a list of all the children in the button's class using the name of the class
            childrenInClass = await Connection.GetChildren("Blue Class");

            //calls the Leaderboard View page withj the children as a list as the argument
            await Navigation.PushAsync(new LeaderboardView(childrenInClass));
        }