recycler-view-divider / com.fondesa.recyclerviewdivider.manager.inset / FixedInsetManager / itemInsetAfter

itemInsetAfter

@Px fun itemInsetAfter(groupCount: Int, groupIndex: Int): Int

Overrides InsetManager.itemInsetAfter

Defines a custom inset that will be applied on the bottom of each element for a vertical list and on the right of each element for an horizontal list.

Parameters

groupCount - number of groups in a list (equal to the list size when the span count is 1).

groupIndex - position of the group (equal to the item position when the span count is 1).

Return
inset after the item (expressed in pixels).

@Px abstract fun itemInsetAfter(): Int

See Also

InsetManager.itemInsetAfter