What\'s Happening:
The list (RecyclerView) is mixing up the data when I scroll.
I.E when I scr
I had the same problem with a big grid recyclerview with hundreds of numbers that should have appeared sequentially but their order was getting mixed up and repeated.
// More concise code with Kotlin expressions
override fun getItemId(position: Int) = position.toLong()
override fun getItemViewType(position: Int) = position
Added above lines to the adapter.