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

insetEnd

fun insetEnd(@Px end: Int): DividerBuilder

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

Parameters

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

Return
this DividerBuilder instance.