class DefaultInsetManager : FixedInsetManagerDefault implementation of InsetManager that will use the same inset for each item.
insetBefore - the inset that will be applied before each item.
insetAfter - the inset that will be applied after each item.
DefaultInsetManager()
Constructor that assigns a default inset equal to 0. DefaultInsetManager(insetBefore: Int, insetAfter: Int)
Default implementation of InsetManager that will use the same inset for each item. |
fun itemInsetAfter(): Int |
|
fun itemInsetBefore(): Int |
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. |
|
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. |