package com.yidian.shenghuoquan.newscontent.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.newscontent.R
import com.yidian.shenghuoquan.newscontent.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
  }
}
