recycler-view-divider / com.fondesa.recyclerviewdivider.manager.size

Package com.fondesa.recyclerviewdivider.manager.size

Types

DefaultSizeManager

class DefaultSizeManager : FixedSizeManager

Default implementation of SizeManager that will calculate the size of each item using the drawable's dimensions. If the dimensions can't be calculated, a default size will be used.

FixedSizeManager

abstract class FixedSizeManager : SizeManager

Defines a SizeManager which doesn't depend on the item's position.

SizeManager

interface SizeManager

Used to specify a custom logic to set different sizes to the divider. Size is referred to the height of an horizontal divider and to the width of a vertical divider. You can add a custom SizeManager in your RecyclerViewDivider.Builder using the RecyclerViewDivider.Builder.sizeManager method.