I have an issue that's mostly always reproducible where onBindViewHolder wouldn't be called for the sticky headers, do you have an idea if this error could come from the lib itself? Because it only happens with the headers. I can reproduce it in landscape mode where I have a list with:
Header
-4 items visible
-1 item part visible
-1 item not visible
Header
-4 items more
When I scroll a few times sometimes the first header would have the content of the second one when scrolling up again and sometimes the second header will have the content of the first one the first time I scroll down.
Ok, problem was using setHasStableIDs in the adapter, while the headers ofcourse don't have an ID or both have the same ID (-1), so RecyclerView saw both items as equal I suppose.
I have an issue that's mostly always reproducible where onBindViewHolder wouldn't be called for the sticky headers, do you have an idea if this error could come from the lib itself? Because it only happens with the headers. I can reproduce it in landscape mode where I have a list with:
When I scroll a few times sometimes the first header would have the content of the second one when scrolling up again and sometimes the second header will have the content of the first one the first time I scroll down.