Bookends icon indicating copy to clipboard operation
Bookends copied to clipboard

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

Open rishabhsri20 opened this issue 9 years ago • 3 comments

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

rishabhsri20 avatar Aug 11 '15 09:08 rishabhsri20

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.

mfkasim avatar Sep 08 '16 01:09 mfkasim

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

ericleong avatar Sep 08 '16 19:09 ericleong

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

rishabhsri20 avatar Sep 09 '16 06:09 rishabhsri20