feat: 커뮤니티 댓글 리스트

- 비밀댓글 태그 추가
This commit is contained in:
2025-06-13 17:07:16 +09:00
parent 28388497b8
commit 89277c5668
3 changed files with 39 additions and 10 deletions

View File

@@ -19,6 +19,7 @@ data class GetCommunityPostCommentListItem(
@SerializedName("nickname") val nickname: String,
@SerializedName("profileUrl") val profileUrl: String,
@SerializedName("comment") val comment: String,
@SerializedName("isSecret") val isSecret: Boolean,
@SerializedName("date") val date: String,
@SerializedName("replyCount") val replyCount: Int,
) : Parcelable

View File

@@ -43,6 +43,11 @@ class CreatorCommunityCommentAdapter(
binding.tvComment.text = item.comment
binding.tvCommentDate.text = item.date
binding.tvCommentNickname.text = item.nickname
binding.tvSecret.visibility = if (item.isSecret) {
View.VISIBLE
} else {
View.GONE
}
binding.tvWriteReply.text = if (item.replyCount > 0) {
"답글 ${item.replyCount}"