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.
abstract fun itemSize(drawable: Drawable, orientation: Int, groupCount: Int, groupIndex: Int): Int
Defines a custom size for each group of divider. |
abstract class FixedSizeManager : SizeManager
Defines a SizeManager which doesn't depend on the item's position. |