Recyclerview Space Between Items On Android Application
I have a project i am developing but i have come to face a problem with a large gap appearing between two items on my android application ,i had tried to look on every previous sug
Solution 1:
The problem is with your adapter class. You need to make the adapter class parent height as wrap_content
. Since your recylerview is vertical, you need to change the height of the adapter parent layout to wrap_content
. After that also if the problem exists check whether any other adapter child view height is match_parent
, if so change that to wrap_content
.
Hope this is Helpful :)
Post a Comment for "Recyclerview Space Between Items On Android Application"