StoryGroupListStyling

data class StoryGroupListStyling @JvmOverloads constructor(orientation: StoryGroupListOrientation, sections: Int, horizontalEdgePadding: Float, verticalEdgePadding: Float, horizontalPaddingBetweenItems: Float, verticalPaddingBetweenItems: Float)

This data class represents styling of story group list

Constructors

StoryGroupListStyling
Link copied to clipboard
fun StoryGroupListStyling(orientation: StoryGroupListOrientation = StoryGroupListOrientation.Horizontal, sections: Int = 1, horizontalEdgePadding: Float = Float.MIN_VALUE, verticalEdgePadding: Float = Float.MIN_VALUE, horizontalPaddingBetweenItems: Float = Float.MIN_VALUE, verticalPaddingBetweenItems: Float = Float.MIN_VALUE)

Properties

horizontalEdgePadding
Link copied to clipboard
var horizontalEdgePadding: Float

Edge padding value of the first and last story groups for orientation horizontal

horizontalPaddingBetweenItems
Link copied to clipboard
var horizontalPaddingBetweenItems: Float

Horizontal padding value between story groups

orientation
Link copied to clipboard
var orientation: StoryGroupListOrientation

Orientation of story group list

sections
Link copied to clipboard
var sections: Int = 1

Based on orientation for horizontal row count or for vertical colum count of story group list

verticalEdgePadding
Link copied to clipboard
var verticalEdgePadding: Float

Edge padding value of the first and last story groups for orientation vertical

verticalPaddingBetweenItems
Link copied to clipboard
var verticalPaddingBetweenItems: Float

Vertical padding value between story groups