package com.yidian.shenghuoquan.bmanagercenter.wallet.adapter

import android.widget.TextView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.yidian.shenghuoquan.bmanagercenter.R
import com.yidian.shenghuoquan.bmanagercenter.wallet.bean.TransactionListItemDto


/**
 * 交易列表适配器
 */
class TransactionListAdapter: BaseQuickAdapter<TransactionListItemDto, BaseViewHolder>(R.layout.layout_transaction_list_item) {

  override fun convert(holder: BaseViewHolder, item: TransactionListItemDto) {
    holder.getView<TextView>(R.id.tv_title).text = item.title
  }
}
