recycler-view-divider / com.fondesa.recyclerviewdivider / RecyclerViewDivider / Builder / size

size

fun size(@Px size: Int): RecyclerViewDivider.Builder
Deprecated: Use the new divider API instead.

Set the size of all dividers. The divider's final size will depend on RecyclerView's orientation: Size is referred to the height of an horizontal divider and to the width of a vertical divider. To set a custom size for each divider use sizeManager instead.

Parameters

size - size in pixels for this divider.

Return
this Builder instance.