recycler-view-divider / com.fondesa.recyclerviewdivider.size / SizeProvider / getDividerSize

getDividerSize

@Px abstract fun getDividerSize(grid: Grid, divider: Divider, dividerDrawable: Drawable): Int

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

Parameters

grid - the Grid in which the divider is shown.

divider - the Divider which will have the returned size.

dividerDrawable - the divider's Drawable.

Return
the size in pixels of the given divider.