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

insetStart

fun insetStart(@Px start: Int): DividerBuilder

Sets the divider's start inset. The inset will behave as a margin/padding of the divider's drawable. The start inset in an horizontal divider is the left inset in left-to-right and the right inset in right-to-left. The start inset in a vertical divider is the top inset in top-to-bottom and the bottom inset in bottom-to-top.

Parameters

start - the start inset size in pixels used for each divider.

Return
this DividerBuilder instance.