recycler-view-divider / com.fondesa.recyclerviewdivider.inset / InsetProvider / getDividerInsetStart

getDividerInsetStart

@Px abstract fun getDividerInsetStart(grid: Grid, divider: Divider): Int

Gets the divider's start inset. 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

grid - the Grid in which the divider is shown.

divider - the Divider which will have the returned start inset.

Return
the start inset size in pixels of the given divider.