feat: 팔로워 리스트

- 프로필 이미지를 터치하면 프로필 다이얼로그 표시
This commit is contained in:
2025-06-13 19:36:38 +09:00
parent 89277c5668
commit c527f55721
4 changed files with 35 additions and 2 deletions

View File

@@ -27,7 +27,8 @@ class MemberProfileDialog(
private val activity: FragmentActivity,
private val layoutInflater: LayoutInflater,
private val memberId: Long,
private val screenWidth: Int
private val screenWidth: Int,
private val onBlockComplete: () -> Unit = {}
) : KoinComponent {
private val viewModel: UserViewModel by inject()
@@ -143,7 +144,10 @@ class MemberProfileDialog(
dialog.setTitle("사용자 차단")
dialog.setMessage(message)
dialog.setPositiveButton("차단") { _, _ ->
viewModel.memberBlock(memberId) { dismiss() }
viewModel.memberBlock(memberId) {
dismiss()
onBlockComplete()
}
}
dialog.setNegativeButton("취소") { _, _ -> }
dialog.show()