Added
Android SDK 3.0.23
7 days ago by Viktor Manev
Added independent inline-reply sorting through inlineRepliesOrdering, allowing newest-first top-level comments with oldest-first inline replies. Supported in:
Added independent inline-reply sorting through
inlineRepliesOrdering, allowing newest-first top-level comments with oldest-first inline replies. Supported in:LiveLikeCommentClient.getComments()andgetCommentsPage()throughGetCommentsRequestOptionsLiveLikeKotlin.createCommentSession()through its newinlineRepliesOrderingparameter
InlineRepliesSorting
Added InlineRepliesSorting with seven supported values:
When inlineRepliesOrdering is omitted, inline replies follow the top-level comment sorting. Inline replies require repliesLimit.
Sample:
CommentClient and CommentSession
commentClient.getComments(liveLikePagination = LiveLikePagination.FIRST,getCommentsRequestOptions = GetCommentsRequestOptions(sorting = CommentSortingOptions.NEWEST,repliesLimit = 3,inlineRepliesOrdering = InlineRepliesSorting.OLDEST))val commentSession = sdk.createCommentSession
(
commentBoardId ,
withoutReportedThread = true,
inlineRepliesOrdering = CommentSortingOptions.NEWEST_REPLIES // NEW
)For more information, see List Comments.

