Esempio n. 1
0
        async Task <bool> load(int page, string aid)
        {
            string url = "http://api.bilibili.com/x/reply?_device=wp&_ulv=10000&build=424000&platform=android&appkey=" + ApiHelper.appkey + "&oid=" + aid + "&sort=0&type=1&pn=" + page.ToString() + "&ps=20";

            url += ApiHelper.GetSign(url);
            List <Reply> replys = new List <Reply>();

            replys = await ContentServ.GetReplysAsync(url);

            foreach (var item in replys)
            {
                listview.Items.Add(item);
            }
            if (replys.Count < 20)
            {
                return(true);
            }
            return(false);
        }