recycler-view-divider / com.fondesa.recyclerviewdivider.manager.tint / FixedTintManager

FixedTintManager

abstract class FixedTintManager : TintManager

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

Constructors

<init>

FixedTintManager()

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

Functions

itemTint

fun itemTint(groupCount: Int, groupIndex: Int): Int

Defines a custom tint color for each group of divider.

abstract fun itemTint(): Int

Inheritors

DefaultTintManager

class DefaultTintManager : FixedTintManager

Default implementation of SizeManager that will use the same color to tint each item.