BRV
/
com.drake.brv
/
DefaultDecoration
/
onEnabled
on
Enabled
fun
onEnabled
(block:
BindingAdapter.BindingViewHolder
.() ->
Boolean
)
Content copied to clipboard
根据回调函数来决定是否启用分割线
Parameters
block
函数返回值决定参数
BindingAdapter.BindingViewHolder
对应的Item是否启用分割线