BRV
/
com.drake.brv
/
BindingAdapter
/
addType
add
Type
inline fun <
M
>
addType
(
@
LayoutRes
()
layout:
Int
)
Content copied to clipboard
添加多类型
inline fun <
M
>
addType
(noinline block:
M
.(
Int
) ->
Int
)
Content copied to clipboard
通过回调函数添加多类型, 一对多多类型