lmw
2023-03-10 28ebc366edb1509b224ce443757038ea07fe5a6f
1
2
3
4
5
6
7
8
9
10
11
package com.fuban.user.ui.trip.adapter
 
import cn.sinata.xldutils.adapter.HFRecyclerAdapter
import cn.sinata.xldutils.adapter.util.ViewHolder
import com.fuban.user.R
 
class StringAdapter(datas:ArrayList<String>):HFRecyclerAdapter<String>(datas, R.layout.item_string) {
    override fun onBind(holder: ViewHolder, position: Int, data: String) {
        holder.setText(R.id.tv_name,data)
    }
}