BelooS / ChipsLayoutManager

ANDROID. ChipsLayoutManager (SpanLayoutManager, FlowLayoutManager). A custom layout manager for RecyclerView which mimicric TextView span behaviour, flow layouts behaviour with support of amazing recyclerView features
Apache License 2.0
3.25k stars 362 forks source link

is it possible to add header/footer to each break? #28

Closed Manuiq closed 7 years ago

Manuiq commented 7 years ago

here is what I'm trying to achieve http://imgur.com/a/3Hkho

BelooS commented 7 years ago

I am afraid that it isn't possible with clm. You may achieve it with pre-calculations and horizontal GridLayoutManager. Assuming that you have static height of items in list, static height of footer/header, having height of screen you'll able to calculate count of fitting items, split input sequence to pieces of that count and than display it with inner RecyclerView. With dynamic heights it will me more tricky, but possible. That's my suggestion

Manuiq commented 7 years ago

I'll try it out, thanks