header-decor icon indicating copy to clipboard operation
header-decor copied to clipboard

Header moves on left/right when recyclerview uses viewType

Open esdrasdl opened this issue 9 years ago • 1 comments

Hello, I found a small issue related with header-decor. I have a RecyclerView with two view types, like a chat app. As I saw in your sample I've implemented StickyHeaderAdapter and created a new StickyHeaderDecoration(adapter) and add it on my RecyclerView through addItemDecoration(decor, 0).

If I have a sequence of layout rows on the same type the header works like a charm. However, if I have different view types close (one view type above/below the another one) the header view shift to right or left. I'm using the version 0.2.8

esdrasdl avatar Nov 06 '16 16:11 esdrasdl

yes mee too, any solution

pankrawat844 avatar May 22 '19 09:05 pankrawat844