Skip to content

JuiceListViewHolder constructor missing param #155

@pdmurty

Description

@pdmurty

The constructor must have a parameter of type ComposeView which is missing. OnCreateViewHolder return the constructor withe param but the class definition does not include the param.

class JuiceListViewHolder(
private val composeView : ComposeView, // missing in the document.
private val onEdit: (Juice) -> Unit,
private val onDelete: (Juice) -> Unit
) : RecyclerView.ViewHolder(composeView){}

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