Skip to content

Add Compose to a View based app #156

@pdmurty

Description

@pdmurty

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions