<@UAN39HN81> if that's the case, should I change i...
# android
a
@Luke if that's the case, should I change it?
l
Well I'm guessing that's what you want. Right now you are passing a single element to your adapter
a
Ya. So I no need to indicate the position?
Unless i have two elements?
l
Will your RecyclerView have more than one element?
if yes, then the parameter of the constructor should be a collection. If no, then you don't need
[position]
a
Yes. My RecycleView will have two elements.
One is the title.
One is the image button.
l
Do you really need a RecyclerView? Couldn't you just put the TextView and ImageView where the RecyclerView is?
a
It's going to be a list.