getLayoutId

abstract fun getLayoutId(viewModel: VM): Int

Returns the layout ID for the given viewModel.