abstract class FixedSizeManager : SizeManager
Defines a SizeManager which doesn't depend on the item's position.
FixedSizeManager()
Defines a SizeManager which doesn't depend on the item's position. |
fun itemSize(drawable: Drawable, orientation: Int, groupCount: Int, groupIndex: Int): Int
Defines a custom size for each group of divider. abstract fun itemSize(drawable: Drawable, orientation: Int): Int |
class DefaultSizeManager : FixedSizeManager
Default implementation of SizeManager that will calculate the size of each item using the drawable's dimensions. If the dimensions can't be calculated, a default size will be used. |