I was here already many times, but not enough to c...
# announcements
e
I was here already many times, but not enough to convince that it will not possible
Copy code
fun 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?