コード例 #1
0
        async Task loadpulls(int page)
        {
            isloadingpull = true;
            List <Pulls> list = await ContentServ.GetPullsAsync(page);

            foreach (var item in list)
            {
                list_pull.Items.Add(item);
            }
            if (list.Count < 20)
            {
                list_pull.ContainerContentChanging -= list_pull_ContainerContentChanging;
                isPullLoadingDone = true;
            }
            isloadingpull = false;
        }