mistake in ListViewHolder constructor parameters.
Here is what you say
In JuiceListAdapter.kt, remove ListItemBinding from everywhere. In the JuiceListViewHolder class, replace binding.root with composeView.
Instead ListItemBinding has to be replaced with ComposeView and replace the constructor parameter binding with composeView of type ComposeView , otherwise the RecylcleView call will show an error
mistake in ListViewHolder constructor parameters.
Here is what you say
In JuiceListAdapter.kt, remove ListItemBinding from everywhere. In the JuiceListViewHolder class, replace binding.root with composeView.
Instead ListItemBinding has to be replaced with ComposeView and replace the constructor parameter binding with composeView of type ComposeView , otherwise the RecylcleView call will show an error