RecyclerView v23.2.0 and blank space after swiping up

前端 未结 1 1198
暖寄归人
暖寄归人 2020-12-17 04:15

I updated the support library to 23.2.0. and changed the height of the recyclerView to wrap_content as explained in the blog here :

The RecyclerView widg

相关标签:
1条回答
  • 2020-12-17 04:26

    I found the bug.

    In the layout file where the cardview is in, I had to modify the surrounding RelativeLayout's layout_height attribute to WRAP_CONTENT as well.

    Interesting part is, I changed the layout_height of RecyclerView back to MATCH_PARENT and it still worked as desired.

    0 讨论(0)
提交回复
热议问题