Skip to content Skip to sidebar Skip to footer

Recyclerview Items With Very Large Empty Space At Bottom After Updating To Support Library 23.2.1

I have updated support library to 23.2.1 and after that recyclerview items are appearing with big empty space. Though I am using recyclerview and it's parent view height as WRAP_CO

Solution 1:

Make sure your recycler view height is set to wrap_content. 23.2 introduced wrap content functionality for RecylerView and you should have the height as wrap_content if you want your RecyclerView work as it was working before.

Quote from Android Developers Blog

Due to this change, make sure to double check the layout parameters of your item views: previously ignored layout parameters (such as MATCH_PARENT in the scroll direction) will now be fully respected.

Post a Comment for "Recyclerview Items With Very Large Empty Space At Bottom After Updating To Support Library 23.2.1"