Have you tried:
class MyAdapter : RecyclerView.Adapter<MyAdapter.ViewHolderInnerClass>() {
.
.
.
}
rvItemsList.adapter = MyAdapter()
I figure it’s the anonymous outer class that is giving you the trouble.
Have you tried:
class MyAdapter : RecyclerView.Adapter<MyAdapter.ViewHolderInnerClass>() {
.
.
.
}
rvItemsList.adapter = MyAdapter()
I figure it’s the anonymous outer class that is giving you the trouble.