public async Task <List <LiveRecommendItemModel> > GetRecommend(int page)
        {
            try
            {
                var result = await recommendAPI.LiveRoomList(page, sort_type).Request();

                if (result.status)
                {
                    var obj = await result.GetData <JObject>();

                    if (obj.code == 0)
                    {
                        var items = JsonConvert.DeserializeObject <List <LiveRecommendItemModel> >(obj.data["list"].ToString());

                        return(items);
                    }
                    else
                    {
                        Utils.ShowMessageToast(obj.message);
                        return(new List <LiveRecommendItemModel>());
                    }
                }
                else
                {
                    Utils.ShowMessageToast(result.message);
                    return(new List <LiveRecommendItemModel>());
                }
            }
            catch (Exception ex)
            {
                LogHelper.Log("加载直播推荐信息失败", LogType.ERROR, ex);
                Utils.ShowMessageToast("加载直播推荐信息失败");
                return(new List <LiveRecommendItemModel>());
            }
        }
        public async Task GetItems()
        {
            try
            {
                Loading     = true;
                CanLoadMore = false;
                var results = await recommendAPI.LiveRoomList(Page, SortType).Request();

                if (results.status)
                {
                    var data = results.GetJObject();
                    if (data["code"].ToInt32() == 0)
                    {
                        var items = JsonConvert.DeserializeObject <List <LiveRecommendItemModel> >(data["data"]["list"].ToString());
                        if (items != null)
                        {
                            foreach (var item in items)
                            {
                                Items.Add(item);
                            }
                            //Items = new IncrementalLoadingCollection<LiveRecommendItemSource, LiveRecommendItemModel>(new LiveRecommendItemSource(items, SortType), 30);
                            if (Items.Count < data["data"]["count"].ToInt32())
                            {
                                Page++;
                                CanLoadMore = true;
                            }
                        }
                    }
                    else
                    {
                        Utils.ShowMessageToast(data["message"].ToString());
                    }
                }
                else
                {
                    Utils.ShowMessageToast(results.message);
                }
            }
            catch (Exception ex)
            {
                var handel = HandelError <AnimeHomeModel>(ex);
                Utils.ShowMessageToast(handel.message);
            }
            finally
            {
                Loading = false;
            }
        }