tumblr / Bookends

A UI widget for adding headers and footers to RecyclerView
539 stars 62 forks source link

Issue when there is a header and footer without having any data in recyclerview #7

Open rishabhsri20 opened 9 years ago

rishabhsri20 commented 9 years ago

It acts weird when we add a header and footer when there is no content in the RecyclerView.

mfkasim commented 8 years ago

It seems that the RecyclerView don't force the height of the header to be wrap_content. Please check the header layout itself and ensure that the layout_height is setted to wrap_content.

ericleong commented 8 years ago

Do you have a sample project so we can reproduce the issue?

rishabhsri20 commented 8 years ago

No actually, it been an year. So I do not remember but I might have found a way to do it.