Builder

class Builder : STRStoryStyling.Builder<StorylyStoryStyling.Builder>

Builder class of StorylyStoryStyling

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

build
Link copied to clipboard
open override fun build(): StorylyStoryStyling

This function builds StorylyStoryStyling with the current properties

setCloseButtonIcon
Link copied to clipboard
fun setCloseButtonIcon(icon: Drawable?): StorylyStoryStyling.Builder

This function allows you to change the UIImage of the story view header close button icon

setCloseButtonVisibility
Link copied to clipboard
fun setCloseButtonVisibility(isVisible: Boolean): StorylyStoryStyling.Builder

This function allows you to change the visibility of the story view header close button

setHeaderIconBorderColor
Link copied to clipboard
fun setHeaderIconBorderColor(colors: List<Int>): StorylyStoryStyling.Builder

This function allows you to change the header icon border color of the story view

setHeaderIconVisibility
Link copied to clipboard
fun setHeaderIconVisibility(isVisible: Boolean): StorylyStoryStyling.Builder

This function allows you to change the visibility of the story view header icon

setInteractiveTypeface
Link copied to clipboard
fun setInteractiveTypeface(typeface: Typeface?): StorylyStoryStyling.Builder

This function allows you to change the typeface of the font on the interactives

setProgressBarColor
Link copied to clipboard
fun setProgressBarColor(colors: List<Int>): StorylyStoryStyling.Builder

This function allows you to change the progress bar colors of the story view.

setShareButtonIcon
Link copied to clipboard
fun setShareButtonIcon(icon: Drawable?): StorylyStoryStyling.Builder

This function allows you to change the UIImage of the story view header share button icon

setTitleColor
Link copied to clipboard
fun setTitleColor(@ColorInt color: Int): StorylyStoryStyling.Builder

This function allows you to change the header text color of the story view

setTitleTypeface
Link copied to clipboard
fun setTitleTypeface(typeface: Typeface): StorylyStoryStyling.Builder

This function allows you to change the font of the story view header text

setTitleVisibility
Link copied to clipboard
fun setTitleVisibility(isVisible: Boolean): StorylyStoryStyling.Builder

This function allows you to change the visibility of the story view header text