with
Binding
inline fun <viewBinding : ViewBinding> withBinding(crossinline onBind: (model?, viewBinding) -> Unit)
Content copied to clipboard
method to configure item Binding
Parameters
viewBinding
ViewBinding for item layout
onBind
method to configure the view with the object data