parent
5e6225d14c
commit
679e9ed349
|
@ -38,8 +38,8 @@ class AuditionApplicantListAdapter(
|
||||||
private val binding: ItemAuditionApplicantBinding
|
private val binding: ItemAuditionApplicantBinding
|
||||||
) : RecyclerView.ViewHolder(binding.root) {
|
) : RecyclerView.ViewHolder(binding.root) {
|
||||||
fun bind(item: GetAuditionRoleApplicantItem) {
|
fun bind(item: GetAuditionRoleApplicantItem) {
|
||||||
binding.ivVote.setOnClickListener { onClickVote(bindingAdapterPosition) }
|
binding.llVote.setOnClickListener { onClickVote(bindingAdapterPosition) }
|
||||||
binding.ivPlayOrPause.setOnClickListener {
|
binding.ivProfile.setOnClickListener {
|
||||||
onClickPlayOrPause(bindingAdapterPosition, item.applicantId, item.voiceUrl)
|
onClickPlayOrPause(bindingAdapterPosition, item.applicantId, item.voiceUrl)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
tools:text="닉네임" />
|
tools:text="닉네임" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
android:id="@+id/ll_vote"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
@ -51,7 +52,6 @@
|
||||||
tools:ignore="UseCompoundDrawables">
|
tools:ignore="UseCompoundDrawables">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/iv_vote"
|
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:contentDescription="@null"
|
android:contentDescription="@null"
|
||||||
|
|
Loading…
Reference in New Issue