recycler-view-divider / com.fondesa.recyclerviewdivider / DividerBuilder / size

size

@JvmOverloads fun size(size: Int, sizeUnit: Int = TypedValue.COMPLEX_UNIT_PX): DividerBuilder

Sets the divider's size. The size of an horizontal divider is its height. The size of a vertical divider is its width.

Parameters

size - the divider's size.

sizeUnit - the divider's size measurement unit (e.g. TypedValue.COMPLEX_UNIT_DIP). By default pixels.

Return
this DividerBuilder instance.