ViewHolder

Report a typo

Finish a line to return a custom ViewHolder. A layout to inflate has a name item_product. Assume that the constructor signature for the ViewHolder is constructor(itemView: View).

override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ProductViewHolder {
    return //here
}
Enter a short text
___

Create a free account to access the full topic