BRV
/
com.drake.brv
/
BindingAdapter
/
onClick
on
Click
fun
onClick
(
@
IdRes
()
vararg id:
Int
, block:
BindingAdapter.BindingViewHolder
.(viewId:
Int
) ->
Unit
)
Content copied to clipboard
监听指定Id控件的点击事件, 包含防抖动
fun
Int
.
onClick
(listener:
BindingAdapter.BindingViewHolder
.(viewId:
Int
) ->
Unit
)
Content copied to clipboard
添加点击事件, 点击启用防抖动