package com.adealink.weparty.profile.dialog.adapter

import android.view.LayoutInflater
import android.view.ViewGroup
import com.adealink.weparty.commonui.recycleview.adapter.BindingViewHolder
import com.adealink.weparty.commonui.recycleview.adapter.multitype.ItemViewBinder
import com.adealink.weparty.profile.databinding.LayoutOrderGoodItemBinding
import com.adealink.weparty.profile.dialog.data.OrderGoodItemData

class OrderGoodItemViewBinder :
    ItemViewBinder<OrderGoodItemData, BindingViewHolder<LayoutOrderGoodItemBinding>>() {

    override fun onBindViewHolder(
        holder: BindingViewHolder<LayoutOrderGoodItemBinding>,
        item: OrderGoodItemData,
    ) {
        // TODO: 后续替换图片

    }

    override fun onCreateViewHolder(
        inflater: LayoutInflater,
        parent: ViewGroup,
    ): BindingViewHolder<LayoutOrderGoodItemBinding> {
        return BindingViewHolder(LayoutOrderGoodItemBinding.inflate(inflater, parent, false))
    }
}