title: How to use ViewBinding in a RecyclerView.Adapter?
body: <p>Can I use ViewBindings to replace <code>findViewById</code> in this typical <code>RecyclerView.Adapter</code> initialization code? I can't set a <code>binding</code> val in the object as the ViewHolders are different per cell.</p>
  
  <pre><code>class CardListAdapter(private val cards: LiveData&lt;List&lt;Card&gt;&gt;) : RecyclerView.Adapter&lt;CardListAdapter.CardViewHolder&gt;() {
  
      class CardViewHolder(val cardView: View) : RecyclerView.ViewHolder(cardView)
  
      override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): CardViewHolder {
          val binding = CardBinding.inflate(LayoutInflater.from(parent.context), parent, false)
          return CardViewHolder(binding.root)
      }
  
      override fun onBindViewHolder(holder: CardViewHolder, position: Int) {
          val title = holder.cardView.findViewById&lt;TextView&gt;(R.id.title)
          val description = holder.cardView.findViewById&lt;TextView&gt;(R.id.description)
          val value = holder.cardView.findViewById&lt;TextView&gt;(R.id.value)
          // ...
      }
  </code></pre>