package com.zswc.creativity.adapter

import android.os.Bundle
import android.text.TextUtils
import android.view.View
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.qmuiteam.qmui.kotlin.onClick
import com.zswc.creativity.R
import com.zswc.creativity.databinding.ItemMsgBinding
import com.zswc.creativity.model.MsgList
import com.zswc.creativity.utils.VerifyUtils
import com.zswc.creativity.vmodel.MsgVModel
import com.ysnows.base.base.BAdapter
import com.ysnows.base.utils.UiSwitch
import com.zswc.creativity.databinding.ItemMyWalletBinding
import com.zswc.creativity.model.MoneyList
import com.zswc.creativity.vmodel.MyWalletVModel

class MyWalletAdapter(var vm: MyWalletVModel) : BAdapter<MoneyList, BaseDataBindingHolder<ItemMyWalletBinding>>(R.layout.item_my_wallet) {

    override fun convert(holder: BaseDataBindingHolder<ItemMyWalletBinding>, item: MoneyList) {
        holder.dataBinding?.vm=vm
        holder.dataBinding?.item = item

    }
}
