private void StoryExtraSubscriber(StoryExtraEvent param) { if(CommentList.Count > 1) { CommentList[0].GroupName = StringUtil.GetCommentGroupName(CommentType.Long, CurrentStoryExtraInfo.long_comments.ToString()); CommentList[1].GroupName = StringUtil.GetCommentGroupName(CommentType.Short, CurrentStoryExtraInfo.short_comments.ToString()); } }
private void Subscriber(StoryExtraEvent param) { CommentCount = param.StoryExtraInfo.comments.ToString(); LikeCount = param.StoryExtraInfo.popularity.ToString(); IsLikeButtonChecked = param.StoryExtraInfo.vote_status == 1; IsFavoriteButtonChecked = param.StoryExtraInfo.favorite; }