package com.quansu.heifengwuliu.adapter

import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.quansu.heifengwuliu.R
import com.quansu.heifengwuliu.databinding.ItemEnterinfoBinding
import com.quansu.heifengwuliu.model.DataInfoBean
import com.ysnows.base.base.BAdapter

class OrderInfoInadapter(val start_time:String) : BAdapter<DataInfoBean.OrderBean.ReceiveBean, BaseDataBindingHolder<ItemEnterinfoBinding>>(R.layout.item_enterinfo) {

    override fun convert(holder: BaseDataBindingHolder<ItemEnterinfoBinding>, item: DataInfoBean.OrderBean.ReceiveBean) {
        holder.dataBinding?.timeOn = start_time
        holder.dataBinding?.item = item
    }
}
