ChannelListViewStyle
Style for ChannelListView. Use this class together with TransformStyle.channelListStyleTransformer to change ChannelListView styles programmatically.
Constructors
Properties
Background color for ChannelViewHolder. Default value is R.color.stream_ui_white_smoke.
Appearance for channel's title, displayed in ChannelViewHolder.
Enables/disables delete channel option. Enabled by default.
Icon for deleting channel option. Default value is R.drawable.stream_ui_ic_delete.
Color applied to the ChannelListView edge effect. Pass null if you want to use default android.R.attr.colorEdgeEffect. Default value is null.
Empty state view. Default value is R.layout.stream_ui_channel_list_empty_state_view.
Foreground color for ChannelViewHolder. Default value is R.color.stream_ui_white_snow.
Icon for indicating sync pending status in ChannelViewHolder. Default value is R.drawable.stream_ui_ic_clock.
Icon for indicating message read status in ChannelViewHolder. Default value is R.drawable.stream_ui_ic_check_double.
Icon for indicating message sent status in ChannelViewHolder. Default value is R.drawable.stream_ui_ic_check_single.
Height of the channel list item. Default value is R.dimen.stream_ui_channel_list_item_height.
End margin of the channel list item. Default value is R.dimen.stream_ui_channel_list_item_margin_end.
Start margin of the channel list item. Default value is R.dimen.stream_ui_channel_list_item_margin_start.
Items' separator. Default value is R.drawable.stream_ui_divider.
Start margin of the channel list item title. Default value is R.dimen.stream_ui_channel_list_item_title_margin_start.
Height of the channel list item vertical spacer. Default value is R.dimen.stream_ui_channel_list_item_vertical_spacer_height.
Position of the channel list item vertical spacer. Default value is R.dimen.stream_ui_channel_list_item_vertical_spacer_position.
Appearance for last message date text displayed in ChannelViewHolder.
Appearance for last message text, displayed in ChannelViewHolder.
Loading more view. Default value is R.layout.stream_ui_channel_list_loading_more_view.
Loading view. Default value is R.layout.stream_ui_default_loading_view.
Icon for muted channel, displayed in ChannelViewHolder. Default value is R.drawable.stream_ui_ic_mute_black.
Enables/disables channel's options. Enabled by default.
Icon for channel's options. Default value is R.drawable.stream_ui_ic_more.
Enables/disables read count. Enabled by default.
Flag if we need to show the delivery indicator or not.
Enables/disables swipe on channel list item. Enabled by default.
Background color for message counter, displayed in ChannelViewHolder. Default value is R.color.stream_ui_accent_red.
Appearance for message counter text, displayed in ChannelViewHolder.