Skip to content

Commit

Permalink
[Refactor] inner class를 nested class로 수정 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
arinming committed May 2, 2024
1 parent fbfe893 commit fac5e7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/sopt/now/ui/adapter/ItemAdapter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ class ItemAdapter(private val items: MutableList<MultiData>) : RecyclerView.Adap
}
}

inner class MyProfileViewHolder(binding: ItemMyProfileBinding) :
private class MyProfileViewHolder(binding: ItemMyProfileBinding) :
ViewHolder(binding.root) {

val profileImage = binding.ivProfile
val name = binding.tvName
val description = binding.tvDescription
}

inner class FriendViewHolder(binding: ItemFriendBinding) :
private class FriendViewHolder(binding: ItemFriendBinding) :
ViewHolder(binding.root) {

val profileImage = binding.ivProfile
Expand Down

0 comments on commit fac5e7d

Please sign in to comment.