package com.quansu.heifengwuliu.adapter

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

class OrderListAdapter : BAdapter<Order, BaseDataBindingHolder<ItemOrderBinding>>(R.layout.item_order) {
    override fun convert(holder: BaseDataBindingHolder<ItemOrderBinding>, item: Order) {
        holder.dataBinding?.item = item
    }
}