ebarrenechea / header-decor

A couple of sticky header decorations for android's recycler view.
Apache License 2.0
878 stars 159 forks source link

How about double header with render inline? #42

Closed ghost closed 7 years ago

ghost commented 8 years ago

It will be useful

RuiEEE commented 7 years ago

Is it possible to achieve this? I've been messing around with the subheader height but the offsets gets messed up.

ebarrenechea commented 7 years ago

I'm fairly certain it is possible, you just need to put certain constraints in place. For example, the header is not inlined, just the sub-header so only the header height counts towards the y-axis offset. Unfortunately I don't have the time to look into it at this moment, but maybe in a couple weeks. If you manage to get it working and feel like contributing, PRs are always welcome. :)

RuiEEE commented 7 years ago

Yesterday I grabbed this updated lib to get it working, and noticed that I was using version 0.2.6, turns out version 0.2.7 already had this functionality, passing true as second parameter of DoubleHeaderDecoration.

I guess you can close this.