Builder

class Builder

Builder class of StorylyVerticalFeedGroupStyling

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

build
Link copied to clipboard
fun build(): StorylyVerticalFeedGroupStyling

This function builds VerticalFeedGroupStyling with the current properties

setGroupOrder
Link copied to clipboard

This function allows you to change the order of the vertical feed group

setIconBackgroundColor
Link copied to clipboard

This function allows you to change the background color of the vertical feed group icon which is shown to the user as skeleton view till the stories are loaded

setIconCornerRadius
Link copied to clipboard
fun setIconCornerRadius(radius: Int): StorylyVerticalFeedGroupStyling.Builder

This function allows you to change corner radius value of the vertical feed group icon.

setIconHeight
Link copied to clipboard
fun setIconHeight(height: Int): StorylyVerticalFeedGroupStyling.Builder

This function allows you to change height of the vertical feed group icon.

setIconThematicImageLabel
Link copied to clipboard

This function allows you to use different vertical feed groups images for different labels

setImpressionIcon
Link copied to clipboard
fun setImpressionIcon(drawable: Drawable): StorylyVerticalFeedGroupStyling.Builder

This function allows you to change the impression icon

setLikeIcon
Link copied to clipboard
fun setLikeIcon(drawable: Drawable): StorylyVerticalFeedGroupStyling.Builder

This function allows you to change the like icon

setMinImpressionCountToShowIcon
Link copied to clipboard

This function allows you to set minimum impression count to show impression icon

setMinLikeCountToShowIcon
Link copied to clipboard

This function allows you to set minimum like count to show like icon

setTextColor
Link copied to clipboard
fun setTextColor(@ColorInt color: Int): StorylyVerticalFeedGroupStyling.Builder

This function allows you to change the text color of the group view

setTitleTextSize
Link copied to clipboard
fun setTitleTextSize(typeSizePair: Pair<Int, Int>): StorylyVerticalFeedGroupStyling.Builder

This function allows you to change the text size of the vertical feed group

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

This function allows you to change the visibility of the vertical feed group text

setTypeface
Link copied to clipboard
fun setTypeface(typeface: Typeface): StorylyVerticalFeedGroupStyling.Builder

This function allows you to change the font of the vertical feed group text

setTypeIndicatorVisibility
Link copied to clipboard

This function allows you to set vertical feed type indicator visibility