Esempio n. 1
0
        private async Task InitBangumi(VideoRecommend item)
        {
            var sp = item.uri.Split("#");

            if (sp.Length > 1)
            {
                await _bangumiBlock.Init(Convert.ToInt32(sp.Last()), true);
            }
            else
            {
                await _bangumiBlock.Init(Convert.ToInt32(item.param), true);
            }
        }
Esempio n. 2
0
 private void VideoContainer_NeedRemoveVideo(object sender, VideoRecommend e)
 {
     RecommendCollection.Remove(e);
 }