ThreadListViewStyle

data class ThreadListViewStyle(@ColorInt val backgroundColor: Int, val emptyStateDrawable: Drawable, val emptyStateText: String, val emptyStateTextStyle: TextStyle, val threadIconDrawable: Drawable, val threadTitleStyle: TextStyle, val threadReplyToStyle: TextStyle, val latestReplyStyle: MessagePreviewStyle, val unreadCountBadgeTextStyle: TextStyle, val unreadCountBadgeBackground: Drawable, val bannerTextStyle: TextStyle, val bannerIcon: Drawable, val bannerBackground: Drawable, @Px val bannerPaddingLeft: Int, @Px val bannerPaddingTop: Int, @Px val bannerPaddingRight: Int, @Px val bannerPaddingBottom: Int, @Px val bannerMarginLeft: Int, @Px val bannerMarginTop: Int, @Px val bannerMarginRight: Int, @Px val bannerMarginBottom: Int) : ViewStyle

Class holding the customizable styling parameters for ThreadListView.

Parameters

backgroundColor

The background color of the thread list.

emptyStateDrawable

Drawable shown when there are no threads.

emptyStateText

Text shown when there are no threads.

emptyStateTextStyle

Style for the empty state text.

threadIconDrawable

Drawable for the thread icon.

threadTitleStyle

Style for the thread title.

threadReplyToStyle

Style for the thread reply to text.

latestReplyStyle

Style for the latest reply message preview.

unreadCountBadgeTextStyle

Style for the unread count badge.

unreadCountBadgeBackground

Background for the unread count badge.

bannerTextStyle

Style for the unread threads banner text.

bannerIcon

Icon for the unread threads banner.

bannerBackground

Background for the unread threads banner.

bannerPaddingLeft

Left padding for the unread threads banner.

bannerPaddingTop

Top padding for the unread threads banner.

bannerPaddingRight

Right padding for the unread threads banner.

bannerPaddingBottom

Bottom padding for the unread threads banner.

bannerMarginLeft

Left margin for the unread threads banner.

bannerMarginTop

Top margin for the unread threads banner.

bannerMarginRight

Right margin for the unread threads banner.

bannerMarginBottom

Bottom margin for the unread threads banner.

Constructors

Link copied to clipboard
constructor(@ColorInt backgroundColor: Int, emptyStateDrawable: Drawable, emptyStateText: String, emptyStateTextStyle: TextStyle, threadIconDrawable: Drawable, threadTitleStyle: TextStyle, threadReplyToStyle: TextStyle, latestReplyStyle: MessagePreviewStyle, unreadCountBadgeTextStyle: TextStyle, unreadCountBadgeBackground: Drawable, bannerTextStyle: TextStyle, bannerIcon: Drawable, bannerBackground: Drawable, @Px bannerPaddingLeft: Int, @Px bannerPaddingTop: Int, @Px bannerPaddingRight: Int, @Px bannerPaddingBottom: Int, @Px bannerMarginLeft: Int, @Px bannerMarginTop: Int, @Px bannerMarginRight: Int, @Px bannerMarginBottom: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard