Using recyclerview for a short list of items, do not want to remove or reuse items

33 Views Asked by At

I have to use a Recyclerview but for such a small number of items it doesn't make sense to recycle views. It would be better to just add new views into the list and let them stay in the view heirachy. Are there settings that would allow this?

1

There are 1 best solutions below

1
W1ggex On

I guess setting RecyclerView height to "wrap_content" would work just fine