I don't know the reason for this constant that adds a margin between each item. Why not leave it at 0?
As it is right now, if we set ItemSpacing to 0 there is still a space generated by this constant, we need to set ItemSpacing = -2 (and change the code a bit to allow negative numbers) so that there is no spacing between items.
I don't know the reason for this constant that adds a margin between each item. Why not leave it at 0? As it is right now, if we set ItemSpacing to 0 there is still a space generated by this constant, we need to set ItemSpacing = -2 (and change the code a bit to allow negative numbers) so that there is no spacing between items.
RecyclerViewItemVerticalMarginDp = 2
ItemSpacing = 0
RecyclerViewItemVerticalMarginDp = 0
ItemSpacing = 0