Large gap forms between RecyclerView items when scrolling down

前端 未结 9 1972
别跟我提以往
别跟我提以往 2020-12-23 20:16

I\'m making a ToDo list app, and while testing it, for some reason, a huge gap forms between the items whenever I try to scroll down. It always happens whenever I Drag and D

9条回答
  •  心在旅途
    2020-12-23 20:43

    Just for the record: Since in my case we had to implement some "superfancy UI" with overlapping RecyclerView and blur effect toolbar, I had to get rid of clipToPadding="false" within RecyclerView-xml.

    
    

    paddingTopand paddingBottom worked, but we replaced it with some GapViews(empty views, with height of paddingTop and paddingBottom)

提交回复
热议问题