|
|
|
|
@ -103,12 +103,12 @@ class RowViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView), Bindabl |
|
|
|
|
} |
|
|
|
|
it.text = title |
|
|
|
|
|
|
|
|
|
val color = if (adapter.dataSource.isEnabled(row, 0)) { |
|
|
|
|
R.color.white |
|
|
|
|
} else { |
|
|
|
|
R.color.kaki_light |
|
|
|
|
} |
|
|
|
|
it.setTextColor(itemView.context.getColor(color)) |
|
|
|
|
// val color = if (adapter.dataSource.isEnabled(row, 0)) { |
|
|
|
|
// R.color.white |
|
|
|
|
// } else { |
|
|
|
|
// R.color.kaki_light |
|
|
|
|
// } |
|
|
|
|
// it.setTextColor(itemView.context.getColor(color)) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|