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

TintManager

interface TintManager

Used to specify a custom logic to use different tint colors to tint divider's drawables. You can add a custom TintManager in your RecyclerViewDivider.Builder using the RecyclerViewDivider.Builder.tintManager method.

Functions

itemTint

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

Defines a custom tint color for each group of divider.

Inheritors

FixedTintManager

abstract class FixedTintManager : TintManager

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