kotlin – Android RecyclerView getting data from cell

I have a data class in my ViewModel:

values: List<Int>

Regarding to this values (list of integer), i’m creating custom cells in recycler view.
Each cell have a check box.

When i’m clicking on lets say third cell checkbox, i want to update my Scores.values with index 2, when i’m clicking on 4th checkbox – i want to update Scores.values with index 3 etc.

How i can achieve this ?