private async Task RequestShortComments() { if (_currCommentType == CommentType.Long) { _currCommentType = CommentType.Short; } var shortComment = await DataRequester.RequestShortComment(CurrentStoryId, _currCommentType == CommentType.Long?null : LastCommentId); if (shortComment != null) { CommentList.Last().AddRange(shortComment.comments); } }
private async Task RequestNormalComments() { if (_currCommentType == CommentType.Recommend) { _currCommentType = CommentType.Normal; } var normalComments = await DataRequester.RequestNormalComments(CurrentStoryId, _currCommentType == CommentType.Recommend?null : LastCommentId); if (normalComments != null) { CommentList.Last().AddRange(normalComments.Comments); } }