The setClickListener function is an extra binding adapter on the ViewBindingAdapter class, so you would need an additional import there. That being said, I think that signature may have changed as well.
In reality, the better approach here is to use the setOnClickListener { ... } function on the view’s root:
root.setOnClickListener {
...
}
This is clearer and similar to how you normally handle click listeners in Android.