header-decor
header-decor copied to clipboard
Header moves on left/right when recyclerview uses viewType
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
yes mee too, any solution