onClick

fun onClick(@IdRes() vararg id: Int, block: BindingAdapter.BindingViewHolder.(viewId: Int) -> Unit)

监听指定Id控件的点击事件, 包含防抖动

fun Int.onClick(listener: BindingAdapter.BindingViewHolder.(viewId: Int) -> Unit)

添加点击事件, 点击启用防抖动