package xn.hxp.ui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import xn.hxp.R
import com.blankj.utilcode.util.LogUtils
import com.rc.httpcore.bean.ChemicalTypeBean

class ChemicalTypeDialogAdapter :
    BaseQuickAdapter<ChemicalTypeBean, BaseViewHolder>(R.layout.chemical_type_dialog_rv) {

    init {
        addChildClickViewIds(R.id.label)
    }

    override fun convert(holder: BaseViewHolder, item: ChemicalTypeBean) {
        holder.setText(R.id.label, item.label)
    }
}