package com.quansu.heifengwuliu.adapter

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

class MsgAdapter : BAdapter<Msg, BaseDataBindingHolder<ItemMsgBinding>>(R.layout.item_msg) {
    override fun convert(holder: BaseDataBindingHolder<ItemMsgBinding>, item: Msg) {
        holder.dataBinding?.item = item
    }
}