I have a RecyclerView
with some Views in it, and I need to iterate over all of them, not only the visible ones.
I tried to store all the ViewHolders
after their creation but that didn't work
I also thought of creating all the Views manually and storing them, and then passing them to a ListView
to display them, but I have no idea how to implement a ListView
with a complete View list, since this cannot be done with an Adapter
. (right?)
Is there any solution for this?
Edit: This question didn't quite solve my problem, as it basically says "The views are recycled", however I was searching for a way to store the views and pass them to the Adapter
without them being recycled (=destroyed/recreated). By now I figured that a ScrollView
is the way to go for that.