Eugen Martynov
02/08/2021, 8:33 AMfun selectServiceNoThanksListItem() = adapterDelegateViewBinding<
SelectService.ListItem.NoThanks,
SelectService.ListItem,
ItemNoThanksBinding>(
viewBinding = { inflater, root -> ItemNoThanksBinding.inflate(inflater, root, false) }, ....
We have static function inflate that sits in the scope of the generated class. The class is generic parameter for this function. Would it be ever mechanism to not write this view binding lambda all the time just because we don’t have class information in runtime? Do you have own solution for this problem?