Builder

class Builder

Builder class of StorylyBarStyling

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

build
Link copied to clipboard
fun build(): StorylyBarStyling

This function builds StorylyBarStyling with the current properties

setHorizontalEdgePadding
Link copied to clipboard
fun setHorizontalEdgePadding(padding: Int): StorylyBarStyling.Builder

This function allows you to change the horizontal edge padding value of the first and last story groups

setHorizontalPaddingBetweenItems
Link copied to clipboard
fun setHorizontalPaddingBetweenItems(padding: Int): StorylyBarStyling.Builder

This function allows you to change the horizontal padding value between story groups

setOrientation
Link copied to clipboard
fun setOrientation(orientation: StoryGroupListOrientation): StorylyBarStyling.Builder

This function allows you to change the orientation of story groups list

setSection
Link copied to clipboard
fun setSection(count: Int): StorylyBarStyling.Builder

This function allows you to change the orientation of story groups list

setVerticalEdgePadding
Link copied to clipboard
fun setVerticalEdgePadding(padding: Int): StorylyBarStyling.Builder

This function allows you to change the vertical edge padding value of the first and last story groups

setVerticalPaddingBetweenItems
Link copied to clipboard
fun setVerticalPaddingBetweenItems(padding: Int): StorylyBarStyling.Builder

This function allows you to change the vertical padding value between story groups