コード例 #1
0
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            await WeBallAPI.getRelations();

            if (WeBallAPI.Success == false)
            {
                return;
            }
            ListFriends.ItemsSource = WeBallAPI.relations;
        }
コード例 #2
0
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            string parameter;

            if (NavigationContext.QueryString.TryGetValue("match", out parameter))
            {
                match = JsonConvert.DeserializeObject <Match>(parameter);
            }
            await WeBallAPI.getRelations();

            if (WeBallAPI.Success == false)
            {
                return;
            }
            ListFriends.ItemsSource = WeBallAPI.relations;
        }