setItemSpacing

fun setItemSpacing(@Px spacing: Int)

Set the spacing between different items

Parameters

spacing

the spacing between items, in pixels