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

getDividerInsetEnd

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

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

grid - the Grid in which the divider is shown.

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

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