private async Task RequestLongComments(bool isLoadingMore) { var longComment = await DataRequester.RequestLongComment(CurrentStoryId, LastCommentId); if (longComment == null) { return; } CommentList.First().AddRange(longComment.comments); if (longComment == null || longComment.comments.Count < Misc.Page_Count) { await RequestShortComments(); } }
private async Task RequestRecommendComments() { var recommendComments = await DataRequester.RequestRecommendComments(CurrentStoryId, LastCommentId); if (recommendComments == null) { return; } CommentList.First().AddRange(recommendComments.Comments); if (recommendComments == null || recommendComments.Comments == null || recommendComments.Comments.Count < Misc.Page_Count) { await RequestNormalComments(); } }