Clear click listener after view is recycled.

Fixes #13070
This commit is contained in:
Nicholas Tinsley authored and Cody Henthorne committed 2023-07-24 16:38:11 -04:00
1 parent a65e9c76bc
commit 0d57005606
1 file changed
+2
@@ -492,6 +492,8 @@ open class ContactSearchAdapter(
if (isEnabled(model)) {
itemView.setOnClickListener { onClick.onClicked(avatar, getData(model), isSelected(model)) }
bindLongPress(model)
} else {
itemView.setOnClickListener(null)
}
bindCheckbox(model)