package com.quansu.heifengwuliu.adapter

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

class CollectionAdapter : BAdapter<Vehicle, BaseDataBindingHolder<ItemCollectionBinding>>(R.layout.item_collection) {
    override fun convert(holder: BaseDataBindingHolder<ItemCollectionBinding>, item: Vehicle) {
        holder.dataBinding?.item = item
    }
}