[ad_1]
I have a RecyclerView which has a header and a list of data below the header. I have two adapters for these two and are merged using ConcatAdapter. I want the header to be not recycled and I tried setting setIsRecyclable
to false
for the ViewHolder in the first adapter. However, it seems not to work and is always recycled. This is predictable because ConcatAdapter is also a child of the RecyclerView adapter. Is there any way that I can stop recycling a particular viewholder in a particular adapter while using ConcatAdapter?
[ad_2]