fix(character-comment): 캐릭터 댓글 수 표시 수정
- 서버에서 받아온 댓글 수를 표시하도록 수정
This commit is contained in:
@@ -281,7 +281,7 @@ class CharacterCommentListFragment : BaseFragment<FragmentCharacterCommentListBi
|
||||
val start = adapter.items.size
|
||||
adapter.items.addAll(items)
|
||||
adapter.notifyItemRangeInserted(start, items.size)
|
||||
binding.tvCommentCount.text = "${adapter.items.size}"
|
||||
binding.tvCommentCount.text = data?.totalCount?.toString() ?: "0"
|
||||
cursor = data?.cursor
|
||||
} else {
|
||||
Toast.makeText(
|
||||
|
||||
Reference in New Issue
Block a user