Closed hazam closed 9 years ago
Thanks, I only have a 5.0 device currently.
I will merge this tonight.
Btw, can you paste the layout of the header you are using ? (Or maybe you saw the bug with the samples app ?)
Yes, the sample is showing the bug as well - header view measured as 1million pixels tall :) On Oct 22, 2014 3:59 PM, "Aurélien" notifications@github.com wrote:
Btw, can you paste the layout of the header you are using ? (Or maybe you saw the bug with the samples ?)
— Reply to this email directly or view it on GitHub https://github.com/eowise/recyclerview-stickyheaders/pull/4#issuecomment-60088635 .
The measure code breaks in 4.2.2 - at least thats my experience, I got a 5.0 and a 4.2.2 device and onmeasure breaks on the second one.
Turns out that
View.MeasureSpec.makeMeasureSpec(WRAP_CONTENT ...
is wrong