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); } }
private void VideoContainer_NeedRemoveVideo(object sender, VideoRecommend e) { RecommendCollection.Remove(e); }