invoke

operator fun <T> invoke(@LayoutRes layoutId: Int): InflateViewFactory<T, ViewDataBinding>

Creates a ViewFactory that inflates a layout identified by layoutId.

If the view has a viewModel data binding variable and its type matches with T, the data given to bind is set to the variable.