|
|
@@ -2,7 +2,7 @@ package com.yingyangfly.home.adapter
|
|
|
|
|
|
import android.text.TextUtils
|
|
|
import com.yingyang.home.R
|
|
|
-import com.yingyang.home.databinding.ItemEvaluationHistoryBinding
|
|
|
+import com.yingyang.home.databinding.ItemEvaluationHistoryItemBinding
|
|
|
import com.yingyangfly.baselib.adapter.BaseDataBindingAdapter
|
|
|
import com.yingyangfly.baselib.ext.setOnSingleClickListener
|
|
|
import com.yingyangfly.home.entity.Records
|
|
|
@@ -10,13 +10,13 @@ import com.yingyangfly.home.entity.Records
|
|
|
/**
|
|
|
* 测评结果adapter
|
|
|
*/
|
|
|
-class EvaluationHistoryAdapter(override val layoutId: Int = R.layout.item_evaluation_history) :
|
|
|
- BaseDataBindingAdapter<Records, ItemEvaluationHistoryBinding>() {
|
|
|
+class EvaluationHistoryItemAdapter(override val layoutId: Int = R.layout.item_evaluation_history_item) :
|
|
|
+ BaseDataBindingAdapter<Records, ItemEvaluationHistoryItemBinding>() {
|
|
|
|
|
|
var onClickListener: ((bean: Records) -> Unit)? = null
|
|
|
|
|
|
override fun onBindViewHolder(
|
|
|
- binding: ItemEvaluationHistoryBinding,
|
|
|
+ binding: ItemEvaluationHistoryItemBinding,
|
|
|
item: Records,
|
|
|
position: Int
|
|
|
) {
|