interface InsetManager
Used to specify a custom logic to set different insets to each divider. You can add a custom DrawableManager in your RecyclerViewDivider.Builder using the RecyclerViewDivider.Builder.drawableManager method.
abstract fun itemInsetAfter(groupCount: Int, groupIndex: Int): Int
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. |
|
abstract fun itemInsetBefore(groupCount: Int, groupIndex: Int): Int
Defines a custom inset that will be applied on the top of each element for a vertical list and on the left of each element for an horizontal list. |
abstract class FixedInsetManager : InsetManager
Defines a InsetManager which doesn't depend on the item's position. |